{ { 0, 1 }, { 1, 2 } },
{ { 1, 2 } },
{ {} },
} );
NotDocumentIterator notDocumentIterator = NotDocumentIterator.getInstance( i, 8 );
assertEquals( 0, notDocumentIterator.nextDocument() );
assertEquals( 0, notDocumentIterator.document() );
assertEquals( IntervalIterators.TRUE, notDocumentIterator.intervalIterator() );
assertEquals( 1, notDocumentIterator.nextDocument() );
assertEquals( IntervalIterators.TRUE, notDocumentIterator.intervalIterator() );
assertEquals( 3, notDocumentIterator.nextDocument() );
assertEquals( IntervalIterators.TRUE, notDocumentIterator.intervalIterator() );
assertEquals( 5, notDocumentIterator.nextDocument() );
assertEquals( 5, notDocumentIterator.document() );
assertEquals( IntervalIterators.TRUE, notDocumentIterator.intervalIterator() );
assertEquals( 6, notDocumentIterator.nextDocument() );
assertEquals( IntervalIterators.TRUE, notDocumentIterator.intervalIterator() );
assertFalse( notDocumentIterator.hasNext() );
notDocumentIterator.dispose();
}