assertEquals( 0, consecutiveDocumentIterator.document() );
assertEquals( Interval.valueOf( 0, 2 ), consecutiveDocumentIterator.intervalIterator().nextInterval() );
assertEquals( Interval.valueOf( 3, 5 ), consecutiveDocumentIterator.intervalIterator().nextInterval() );
assertFalse( consecutiveDocumentIterator.intervalIterator().hasNext() );
assertEquals( 2, consecutiveDocumentIterator.nextDocument() );
assertEquals( 2, consecutiveDocumentIterator.document() );
assertEquals( Interval.valueOf( 0, 2 ), consecutiveDocumentIterator.intervalIterator().nextInterval() );
assertFalse( consecutiveDocumentIterator.intervalIterator().hasNext() );
assertEquals( 3, consecutiveDocumentIterator.nextDocument() );
assertEquals( 3, consecutiveDocumentIterator.document() );
assertEquals( Interval.valueOf( 4, 6 ), consecutiveDocumentIterator.intervalIterator().nextInterval() );