diff --git a/tests/Drivers/Gd/Encoders/PngEncoderTest.php b/tests/Drivers/Gd/Encoders/PngEncoderTest.php new file mode 100644 index 00000000..065aa4d6 --- /dev/null +++ b/tests/Drivers/Gd/Encoders/PngEncoderTest.php @@ -0,0 +1,29 @@ +getTestImage(); + $encoder = new PngEncoder(); + $result = $encoder->encode($image); + $this->assertTrue(MimeSniffer::createFromString($result)->matches(new ImagePng)); + } +} \ No newline at end of file