Ejemplo n.º 1
0
 /**
  * @testdox Allows setting and getting the email address
  */
 public function testSettingAndGettingTheEmail()
 {
     $email = 'test@mail';
     $this->target->setEmail($email);
     $this->assertEquals($email, $this->target->getEmail());
 }
Ejemplo n.º 2
0
 /**
  * @dataProvider provideArrays
  */
 public function testSetGetOneClickApplyProfiles($input, $expected)
 {
     $this->target->setOneClickApplyProfiles($input);
     $this->assertEquals($expected, $this->target->getOneClickApplyProfiles());
 }
Ejemplo n.º 3
0
 /**
  * @testdox Allows setting the status of a job posting
  * @covers Jobs\Entity\Job::getAtsMode
  * @covers Jobs\Entity\Job::setAtsMode
  * @dataProvider provideAtsModes
  */
 public function testSetGetAtsMode($input)
 {
     $atsMode = new AtsMode();
     $atsMode->setMode($input);
     $this->target->setAtsMode($atsMode);
     $this->assertEquals($this->target->getAtsMode(), $atsMode);
 }