Example #1
0
 /**
  * @testdox Allows setting the year of birth of the user
  * @covers Auth\Entity\Info::getImage
  * @covers Auth\Entity\Info::setImage
  */
 public function testSetGetImage()
 {
     $input = new UserImage();
     $output = new UserImage();
     $this->target->setImage($input);
     $this->assertEquals($output, $this->target->getImage());
     $input = null;
     $output = null;
     $this->target->setImage($input);
     $this->assertEquals($output, $this->target->getImage());
 }