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