/** * @testdox Allows setting and getting the email address */ public function testSettingAndGettingTheEmail() { $email = 'test@mail'; $this->target->setEmail($email); $this->assertEquals($email, $this->target->getEmail()); }
/** * @dataProvider provideArrays */ public function testSetGetOneClickApplyProfiles($input, $expected) { $this->target->setOneClickApplyProfiles($input); $this->assertEquals($expected, $this->target->getOneClickApplyProfiles()); }
/** * @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); }