CompoundScroll implements DatabaseScroll { @Override public void onStartBatch() throws IOException { for (final DatabaseScroll scroll : scrolls) { scroll.onStartBatch(); } }  @Override void onStartBatch(); @Override void accept(final SearchHit hit); @Override void onEndBatch();  }
@Test public void shouldOnStart() throws IOException { scroll.onStartBatch(); verify(first).onStartBatch(); verify(second).onStartBatch(); }