Exemple #1
0
 public function testSetGetDrivingLicense()
 {
     $input = "1000€";
     $this->target->setDrivingLicense($input);
     $this->assertEquals($this->target->getDrivingLicense(), $input);
 }
 /**
  * @covers Applications\Entity\Application::getFacts
  * @covers Applications\Entity\Application::setFacts
  */
 public function testSetGetFacts()
 {
     $facts = new Facts();
     $facts->setDrivingLicense(true)->setEarliestStartingDate(new \DateTime())->setExpectedSalary('10000€')->setWillingnessToTravel(false);
     $this->target->setFacts($facts);
     $this->assertEquals($facts, $this->target->getFacts());
 }