@Test public void test_getRecruitmentModes() { List<RecruitmentMode> recruitmentModes = new ArrayList<>(); when(recruitmentModeRepository.findForCriteria(any(RecruitmentModeGetRequest.class))).thenReturn(recruitmentModes); List<RecruitmentMode> result = recruitmentModeService.getRecruitmentModes(any(RecruitmentModeGetRequest.class)); assertThat(result).isEqualTo(recruitmentModes); }
public List<RecruitmentMode> getRecruitmentModes(RecruitmentModeGetRequest recruitmentModeGetRequest) { return recruitmentModeRepository.findForCriteria(recruitmentModeGetRequest); }
RecruitmentModeService { public List<RecruitmentMode> getRecruitmentModes(RecruitmentModeGetRequest recruitmentModeGetRequest) { return recruitmentModeRepository.findForCriteria(recruitmentModeGetRequest); } }
RecruitmentModeService { public List<RecruitmentMode> getRecruitmentModes(RecruitmentModeGetRequest recruitmentModeGetRequest) { return recruitmentModeRepository.findForCriteria(recruitmentModeGetRequest); }  }
RecruitmentModeService { public List<RecruitmentMode> getRecruitmentModes(RecruitmentModeGetRequest recruitmentModeGetRequest) { return recruitmentModeRepository.findForCriteria(recruitmentModeGetRequest); }  List<RecruitmentMode> getRecruitmentModes(RecruitmentModeGetRequest recruitmentModeGetRequest); }
RecruitmentModeService { public List<RecruitmentMode> getRecruitmentModes(RecruitmentModeGetRequest recruitmentModeGetRequest) { return recruitmentModeRepository.findForCriteria(recruitmentModeGetRequest); }  List<RecruitmentMode> getRecruitmentModes(RecruitmentModeGetRequest recruitmentModeGetRequest);  }