Example #1
0
 /**
  * Testing  getCandidateList when vacancyId and keywords are provided
  */
 public function testGetCandidateListForVacncyAndKeywords()
 {
     $searchParam = new CandidateSearchParameters();
     $searchParam->setVacancyId(1);
     $searchParam->setKeywords("java,oracle");
     $searchParam->setSortField('e.emp_firstname');
     $searchParam->setSortOrder('ASC');
     $candidateVacancyList = $this->candidateDao->searchCandidates($this->candidateDao->buildSearchQuery($searchParam));
     $this->assertTrue($candidateVacancyList[0] instanceof CandidateSearchParameters);
 }