예제 #1
0
 @Test
 public void testCheckTagWithApplicantRepositoryShouldReturnListOfJobLevelThatHaveTagSameSetup()
     throws Exception {
   List<JoblevelDto> result = applicantRepository.checkTag(applicant.getJobLevel().getTag());
   assertNotNull(result);
   assertThat(result.get(0).getTag(), is("t"));
 }
예제 #2
0
 @Test
 public void
     testFindByJobLevelWithApplicantRepositoryShouldReturnListOfApplicantThatHaveSetupJobLevel()
         throws Exception {
   List<ApplicantDto> result =
       applicantRepository.findByJoblevel(applicant.getJobLevel().getName());
   assertNotNull(result);
   assertThat(result.get(0).getJoblevelStr(), is("Consultant"));
 }