Example #1
0
 /**
  * @covers Applications\Entity\Application::getCv
  * @covers Applications\Entity\Application::setCv
  */
 public function testSetGetCv()
 {
     $cv = new Cv();
     $education = new Education();
     $education->setDescription('test');
     $educations = new ArrayCollection();
     $educations->add($education);
     $cv->setEducations($educations);
     $this->target->setCv($cv);
     $this->assertEquals($cv, $this->target->getCv());
 }