### Question:
UserSettingServiceImpl implements UserSettingService { @Override public String getUISettings(UserInfo userInfo) { return settingsDAO.getUISettings(userInfo); }  @Override void saveUISettings(UserInfo userInfo, String settings); @Override String getUISettings(UserInfo userInfo); @Override void updateUsersBudget(List<UserDTO> budgets);  }### Answer:
@Test public void getUISettings() { when(settingsDAO.getUISettings(any(UserInfo.class))).thenReturn(SETTINGS); final String uiSettings = userSettingService.getUISettings(getUserInfo()); assertEquals(SETTINGS, uiSettings); verify(settingsDAO).getUISettings(refEq(getUserInfo())); }