### Question:
CaseDatastore extends CommonDatastore<CaseItem, ProcessInstance> implements DatastoreHasGet<CaseItem>, DatastoreHasSearch<CaseItem>,
DatastoreHasDelete, DatastoreHasAdd<CaseItem> { void addCallerFilterToSearchBuilderIfNecessary(final Map<String, String> filters, final SearchOptionsBuilder builder) { if (!filters.containsKey(CaseItem.FILTER_CALLER)) { builder.filter(ProcessInstanceSearchDescriptor.CALLER_ID, -1); } else if (!"any".equalsIgnoreCase(filters.get(CaseItem.FILTER_CALLER))) { builder.filter(ProcessInstanceSearchDescriptor.CALLER_ID, MapUtil.getValueAsLong(filters, CaseItem.FILTER_CALLER)); } } CaseDatastore(final APISession engineSession); long count(final String search, final String orders, final Map<String, String> filters); @Override ItemSearchResult<CaseItem> search(final int page, final int resultsByPage, final String search, final String orders,
            final Map<String, String> filters); @Override CaseItem get(final APIID id); @Override void delete(final List<APIID> ids); @Override CaseItem add(final CaseItem caseItem); ProcessAPI getProcessAPI();  }### Answer:
@Test public final void addCallerFilterToSearchBuilderIfNecessary_should_do_nothing_when_filter_on_any_caller() { final Map<String, String> filters = Collections.singletonMap(CaseItem.FILTER_CALLER, "any"); final SearchOptionsBuilder builder = new SearchOptionsBuilder(0, 10); caseDatastore.addCallerFilterToSearchBuilderIfNecessary(filters, builder); assertTrue(builder.done().getFilters().isEmpty()); }