@Test
public void visitSortOptionMultiple() {

    // prepare
    SortOption sortOption = SearchModelFactory.newSortOption(Collections.emptyList());
    sortOption = sortOption.add(POINTER_2, SortOptionEntry.SortOrder.DESC);
    sortOption = sortOption.add(POINTER_1, SortOptionEntry.SortOrder.ASC);
    // test
    visitor.visitAll(Collections.singletonList(sortOption));
    // verify
    verify(exprFactoryMock).sortBy(POINTER_2.toString());
    verify(exprFactoryMock).sortBy(POINTER_1.toString());
    verify(qbMock).sort(
            Arrays.asList(new org.eclipse.ditto.model.query.SortOption(exprMock,
                            SortDirection.DESC),
                    new org.eclipse.ditto.model.query.SortOption(exprMock,
                            SortDirection.ASC)));
}