SettingsRepositoryImpl implements SettingsRepository { @Override public Map<String, String> showSettings(boolean all) { return settingsAware.getSettings(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 testShowAllSettings() { Map<String, String> allSettings = settingsRepository.showSettings(true); assertThat(allSettings.keySet(), hasSize(Setting.values().length)); }