示例#1
0
 /**
  * @testdox Allows setting/getting multi job applications
  * @covers Jobs\Entity\Job::getApplications
  * @covers Jobs\Entity\Job::setApplications
  */
 public function testSetGetApplications()
 {
     $arrayCollection = new ArrayCollection();
     $application = new Application();
     $application->setIsDraft(false);
     $application->setId(123);
     $arrayCollection->add($application);
     $this->target->setApplications($arrayCollection);
     $this->assertEquals($arrayCollection, $this->target->getApplications());
 }