mirror of
https://github.com/Intervention/image.git
synced 2025-08-11 00:14:03 +02:00
Unit test isEncoded() function
This commit is contained in:
@@ -43,6 +43,15 @@ class ImageTest extends PHPUnit_Framework_TestCase
|
|||||||
@unlink($save_as);
|
@unlink($save_as);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testIsEncoded()
|
||||||
|
{
|
||||||
|
$image = $this->getTestImage();
|
||||||
|
$this->assertFalse($image->isEncoded());
|
||||||
|
|
||||||
|
$image->setEncoded('foo');
|
||||||
|
$this->assertTrue($image->isEncoded());
|
||||||
|
}
|
||||||
|
|
||||||
public function testFilter()
|
public function testFilter()
|
||||||
{
|
{
|
||||||
$demoFilter = Mockery::mock('\Intervention\Image\Filters\DemoFilter', array(15));
|
$demoFilter = Mockery::mock('\Intervention\Image\Filters\DemoFilter', array(15));
|
||||||
|
Reference in New Issue
Block a user