/** * @return string */ public function getDescription() { return $this->media->getDescription(); }
/** * @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()); }