Ejemplo n.º 1
0
 /**
  * @return string
  */
 public function getDescription()
 {
     return $this->media->getDescription();
 }
Ejemplo n.º 2
0
 /**
  * @covers Kunstmaan\MediaBundle\Entity\Media::getDescription
  * @covers Kunstmaan\MediaBundle\Entity\Media::setDescription
  */
 public function testGetSetDescription()
 {
     $this->object->setDescription('Description of this picture');
     $this->assertEquals('Description of this picture', $this->object->getDescription());
 }