mirror of
https://github.com/Intervention/image.git
synced 2025-08-25 14:50:48 +02:00
Implement __debugInfo() (#1406)
This commit is contained in:
@@ -392,4 +392,11 @@ final class ImageTest extends ImagickTestCase
|
||||
$this->assertInstanceOf(ImageInterface::class, $result);
|
||||
$this->assertEquals('39c9ff', $image->pickColor(14, 14)->toHex());
|
||||
}
|
||||
|
||||
public function testDebugInfo(): void
|
||||
{
|
||||
$info = $this->readTestImage('trim.png')->__debugInfo();
|
||||
$this->assertArrayHasKey('width', $info);
|
||||
$this->assertArrayHasKey('height', $info);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user