/** * Test can read */ public function testConstruct() { $object = new MemoryDrawing(); $this->assertEquals('imagepng', $object->getRenderingFunction()); $this->assertEquals(MemoryDrawing::MIMETYPE_DEFAULT, $object->getMimeType()); $this->assertNull($object->getImageResource()); $this->assertInternalType('string', $object->getIndexedFilename()); $this->assertInternalType('string', $object->getExtension()); $this->assertInternalType('string', $object->getHashCode()); }