mirror of
https://github.com/Intervention/image.git
synced 2025-02-06 22:00:38 +01:00
19 lines
427 B
PHP
19 lines
427 B
PHP
<?php
|
|
|
|
class AbstractColorTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
public function tearDown()
|
|
{
|
|
Mockery::close();
|
|
}
|
|
|
|
/**
|
|
* @expectedException \Intervention\Image\Exception\NotSupportedException
|
|
*/
|
|
public function testFormatUnknown()
|
|
{
|
|
$color = $this->getMockForAbstractClass('\Intervention\Image\AbstractColor');
|
|
$color->format('xxxxxxxxxxxxxxxxxxxxxxx');
|
|
}
|
|
}
|