eZ\Publish\Core\FieldType\Tests\MetadataHandler\ImageSizeTest::testExtract PHP Method

testExtract() public method

public testExtract ( )
    public function testExtract()
    {
        $metadataHandler = new ImageSizeMetadataHandler();
        $file = 'eZ/Publish/Core/Repository/Tests/Service/Integration/ezplogo.png';
        self::assertEquals(array('width' => 189, 'height' => 200, 'mime' => 'image/png'), $metadataHandler->extract($file));
    }
ImageSizeTest