@Test
public void testAndSpansAdvance() throws IOException {

    Spans exp = MockSpans.single(2, 10, 20);
    SpansAnd spans = getSpans();
    Assert.assertEquals(2, spans.advance(2));
    TestUtil.assertEquals(exp, spans, true);
}