assertNotEquals(lastRecordOfSplit0.getReadName(), firstRecordOfSplit1.getReadName());
}
@Test
public void testIntervals() throws Exception {
List<Interval> intervals = new ArrayList<Interval>();
<BUG>intervals.add(new Interval("chr21", 5000, 9999));
intervals.add(new Interval("chr21", 20000, 22999));</BUG>
completeSetup(false, intervals);
jobContext.getConfiguration().setInt(FileInputFormat.SPLIT_MAXSIZE, 40000);
BAMInputFormat inputFormat = new BAMInputFormat();

assertNotEquals(lastRecordOfSplit0.getReadName(), firstRecordOfSplit1.getReadName());
}
@Test
public void testIntervals() throws Exception {
List<Interval> intervals = new ArrayList<Interval>();
intervals.add(new Interval("chr21", 5000, 9999)); // includes two unmapped fragments
intervals.add(new Interval("chr21", 20000, 22999));
completeSetup(false, intervals);
jobContext.getConfiguration().setInt(FileInputFormat.SPLIT_MAXSIZE, 40000);
BAMInputFormat inputFormat = new BAMInputFormat();
