@Test public void test_getRecruitmentTypes() { List<RecruitmentType> recruitmentTypes = new ArrayList<>(); when(recruitmentTypeRepository.findForCriteria(any(RecruitmentTypeGetRequest.class))).thenReturn(recruitmentTypes); List<RecruitmentType> result = recruitmentTypeService.getRecruitmentTypes(any(RecruitmentTypeGetRequest.class)); assertThat(result).isEqualTo(recruitmentTypes); }
public List<RecruitmentType> getRecruitmentTypes(RecruitmentTypeGetRequest recruitmentTypeGetRequest) { return recruitmentTypeRepository.findForCriteria(recruitmentTypeGetRequest); }
RecruitmentTypeService { public List<RecruitmentType> getRecruitmentTypes(RecruitmentTypeGetRequest recruitmentTypeGetRequest) { return recruitmentTypeRepository.findForCriteria(recruitmentTypeGetRequest); } }
RecruitmentTypeService { public List<RecruitmentType> getRecruitmentTypes(RecruitmentTypeGetRequest recruitmentTypeGetRequest) { return recruitmentTypeRepository.findForCriteria(recruitmentTypeGetRequest); }  }
RecruitmentTypeService { public List<RecruitmentType> getRecruitmentTypes(RecruitmentTypeGetRequest recruitmentTypeGetRequest) { return recruitmentTypeRepository.findForCriteria(recruitmentTypeGetRequest); }  List<RecruitmentType> getRecruitmentTypes(RecruitmentTypeGetRequest recruitmentTypeGetRequest); }
RecruitmentTypeService { public List<RecruitmentType> getRecruitmentTypes(RecruitmentTypeGetRequest recruitmentTypeGetRequest) { return recruitmentTypeRepository.findForCriteria(recruitmentTypeGetRequest); }  List<RecruitmentType> getRecruitmentTypes(RecruitmentTypeGetRequest recruitmentTypeGetRequest);  }