@Test public void test_getRecruitmentQuotas() { List<RecruitmentQuota> recruitmentQuotas = new ArrayList<>(); when(recruitmentQuotaRepository.findForCriteria(any(RecruitmentQuotaGetRequest.class))).thenReturn(recruitmentQuotas); List<RecruitmentQuota> result = recruitmentQuotaService.getRecruitmentQuotas(any(RecruitmentQuotaGetRequest.class)); assertThat(result).isEqualTo(recruitmentQuotas); }
public List<RecruitmentQuota> getRecruitmentQuotas(RecruitmentQuotaGetRequest recruitmentQuotaGetRequest) { return recruitmentQuotaRepository.findForCriteria(recruitmentQuotaGetRequest); }
RecruitmentQuotaService { public List<RecruitmentQuota> getRecruitmentQuotas(RecruitmentQuotaGetRequest recruitmentQuotaGetRequest) { return recruitmentQuotaRepository.findForCriteria(recruitmentQuotaGetRequest); } }
RecruitmentQuotaService { public List<RecruitmentQuota> getRecruitmentQuotas(RecruitmentQuotaGetRequest recruitmentQuotaGetRequest) { return recruitmentQuotaRepository.findForCriteria(recruitmentQuotaGetRequest); }  }
RecruitmentQuotaService { public List<RecruitmentQuota> getRecruitmentQuotas(RecruitmentQuotaGetRequest recruitmentQuotaGetRequest) { return recruitmentQuotaRepository.findForCriteria(recruitmentQuotaGetRequest); }  List<RecruitmentQuota> getRecruitmentQuotas(RecruitmentQuotaGetRequest recruitmentQuotaGetRequest); }
RecruitmentQuotaService { public List<RecruitmentQuota> getRecruitmentQuotas(RecruitmentQuotaGetRequest recruitmentQuotaGetRequest) { return recruitmentQuotaRepository.findForCriteria(recruitmentQuotaGetRequest); }  List<RecruitmentQuota> getRecruitmentQuotas(RecruitmentQuotaGetRequest recruitmentQuotaGetRequest);  }