mirror of
https://github.com/Intervention/image.git
synced 2025-01-17 12:18:14 +01:00
20 lines
528 B
PHP
20 lines
528 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', array());
|
|
}
|
|
}
|