object = new Pdf($this->createTranslatorMock()); } /** * @covers Alchemy\Phrasea\Media\Subdef\Pdf::getType */ public function testGetType() { $this->assertEquals(Subdef::TYPE_PDF, $this->object->getType()); } /** * @covers Alchemy\Phrasea\Media\Subdef\Pdf::getDescription */ public function testGetDescription() { $this->assertTrue(is_string($this->object->getDescription())); } /** * @covers Alchemy\Phrasea\Media\Subdef\Pdf::getMediaAlchemystSpec */ public function testGetMediaAlchemystSpec() { $this->assertInstanceOf('Alchemy\\Phrasea\\Media\\Subdef\\Specification\\PdfSpecification', $this->object->getMediaAlchemystSpec()); } }