### Question:
ApplicationSettingServiceImpl implements ApplicationSettingService { @Override public Map<String, Object> getSettings() { return settingsDAO.getSettings(); }  @Override void removeMaxBudget(); @Override void setMaxBudget(Long maxBudget); @Override Map<String, Object> getSettings();  }### Answer:
@Test public void getSettings() { when(settingsDAO.getSettings()).thenReturn(Collections.singletonMap("key", "value")); final Map<String, Object> settings = applicationSettingService.getSettings(); assertEquals(1, settings.size()); assertEquals("value", settings.get("key")); verify(settingsDAO).getSettings(); verifyNoMoreInteractions(settingsDAO); }