@Test
public void testSpansNotAdvanceBeyond() throws IOException {

    Spans exp = MockSpans.emptySpans();
    SpansNot spans = getSpans();
    Assert.assertEquals(DocIdSetIterator.NO_MORE_DOCS, spans.advance(1000));
    TestUtil.assertEquals(exp, spans, true);
}