### Question:
ParsedFilterConfigService { public boolean isCacheInitialized() { return (semiParsedFilters != null && searchFilters != null); }  Map<String, SemiParsedFilterConfig> getFilterConfigsForRequest(); Map<String, FilterBuilder> getSearchFiltersForRequest(); Map<String, IntervalRange> getRangeFiltersIntervals(); Set<String> getFilterNamesForDocumentField(String fieldName); boolean isCacheInitialized();  }### Answer:
@Test public void isCacheInitialized() { ParsedFilterConfigService tested = getTested(); Assert.assertFalse(tested.isCacheInitialized()); tested.semiParsedFilters = new HashMap<>(); Assert.assertFalse(tested.isCacheInitialized()); tested.searchFilters = new HashMap<>(); Assert.assertTrue(tested.isCacheInitialized()); }