SettingsRepositoryImpl implements SettingsRepository { @Override public Map<String, String> showFilters(boolean all) { return filtersAware.getFilters(all); }  @Override Set<String> set(String data); @Override Set<String> unset(String data); @Override Map<String, String> showSettings(boolean all); @Override Map<String, String> showFilters(boolean all);  }
@Test public void testShowAllFilters() { Map<String, String> allFilters = settingsRepository.showFilters(true); assertThat(allFilters.keySet(), hasSize(Field.values().length)); }