/** * @covers Kunstmaan\MediaBundle\Entity\Media::getContentType * @covers Kunstmaan\MediaBundle\Entity\Media::getContentTypeShort * @covers Kunstmaan\MediaBundle\Entity\Media::setContentType */ public function testGetSetContentType() { $this->object->setContentType('image/jpeg'); $this->assertEquals('image/jpeg', $this->object->getContentType()); $this->assertEquals('jpeg', $this->object->getContentTypeShort()); }