@Test
public void visitCursorAndSizeOptions() {

    final Option cursorOption = SearchModelFactory.newCursorOption("cursor");
    final Option sizeOption = SearchModelFactory.newSizeOption(123);
    visitor.visitAll(Arrays.asList(cursorOption, sizeOption));
    verify(qbMock).skip(0);
    verify(qbMock).size(123);
    verifyNoMoreInteractions(qbMock);
}