diff --git a/tests/Drivers/Abstract/AbstractImageTest.php b/tests/Drivers/Abstract/AbstractImageTest.php index 9b5a943cd..e4f64cd29 100644 --- a/tests/Drivers/Abstract/AbstractImageTest.php +++ b/tests/Drivers/Abstract/AbstractImageTest.php @@ -11,7 +11,6 @@ use Intervention\Image\Interfaces\FrameInterface; use Intervention\Image\Interfaces\ImageInterface; use Intervention\Image\Interfaces\ModifierInterface; -use Intervention\Image\Interfaces\PointInterface; use Intervention\Image\Tests\TestCase; use Mockery; @@ -427,6 +426,15 @@ public function testPadDown(): void $this->assertInstanceOf(ImageInterface::class, $result); } + public function testSetGetExif(): void + { + $img = $this->abstractImageMock(); + $img->setExif((['test' => 'value'])); + + $this->assertInstanceOf(Collection::class, $img->getExif()); + $this->assertEquals('value', $img->getExif('test')); + } + public function testDestroy(): void { $img = $this->abstractImageMock();