### Question:
ParsedFilterConfigService { public Map<String, IntervalRange> getRangeFiltersIntervals() { if (rangeFiltersIntervals == null) { throw new RuntimeException("Range filter intervals not initialized yet. New request filters need to be " + "initialized via prepareFiltersForRequest() method. This is probably an implementation error."); } return rangeFiltersIntervals; }  Map<String, SemiParsedFilterConfig> getFilterConfigsForRequest(); Map<String, FilterBuilder> getSearchFiltersForRequest(); Map<String, IntervalRange> getRangeFiltersIntervals(); Set<String> getFilterNamesForDocumentField(String fieldName); boolean isCacheInitialized();  }### Answer:
@Test(expected = RuntimeException.class) public void getRangeFiltersIntervals_notInitialized() { ParsedFilterConfigService tested = getTested(); tested.getRangeFiltersIntervals(); }
@Test public void getRangeFiltersIntervals_initialized() { ParsedFilterConfigService tested = getTested(); tested.rangeFiltersIntervals = new HashMap<>(); tested.getRangeFiltersIntervals(); }