1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-24 22:22:32 +01:00
intervention_image/tests/AbstractDriverTest.php
2017-09-02 21:24:22 +02:00

20 lines
523 B
PHP

<?php
class AbstractDriverTest extends PHPUnit_Framework_TestCase
{
public function tearDown()
{
Mockery::close();
}
/**
* @expectedException \Intervention\Image\Exception\NotSupportedException
*/
public function testExecuteCommand()
{
$image = Mockery::mock('Intervention\Image\Image');
$driver = $this->getMockForAbstractClass('\Intervention\Image\AbstractDriver');
$command = $driver->executeCommand($image, 'xxxxxxxxxxxxxxxxxxxxxxx', []);
}
}