@Test public void test_getHrConfigs() { Map<String, List<String>> hrConfigurations = new HashMap<>(); when(hrConfigurationRepository.findForCriteria(any(HRConfigurationGetRequest.class))).thenReturn(hrConfigurations); Map<String, List<String>> result = hrConfigurationService.getHRConfigurations(any(HRConfigurationGetRequest.class)); assertThat(result).isEqualTo(hrConfigurations); }
public Map<String, List<String>> getHRConfigurations(HRConfigurationGetRequest hrConfigurationGetRequest) { return hrConfigurationRepository.findForCriteria(hrConfigurationGetRequest); }
HRConfigurationService { public Map<String, List<String>> getHRConfigurations(HRConfigurationGetRequest hrConfigurationGetRequest) { return hrConfigurationRepository.findForCriteria(hrConfigurationGetRequest); } }
HRConfigurationService { public Map<String, List<String>> getHRConfigurations(HRConfigurationGetRequest hrConfigurationGetRequest) { return hrConfigurationRepository.findForCriteria(hrConfigurationGetRequest); }  }
HRConfigurationService { public Map<String, List<String>> getHRConfigurations(HRConfigurationGetRequest hrConfigurationGetRequest) { return hrConfigurationRepository.findForCriteria(hrConfigurationGetRequest); }  Map<String, List<String>> getHRConfigurations(HRConfigurationGetRequest hrConfigurationGetRequest); }
HRConfigurationService { public Map<String, List<String>> getHRConfigurations(HRConfigurationGetRequest hrConfigurationGetRequest) { return hrConfigurationRepository.findForCriteria(hrConfigurationGetRequest); }  Map<String, List<String>> getHRConfigurations(HRConfigurationGetRequest hrConfigurationGetRequest);  }