1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-07 06:10:37 +01:00
intervention_image/tests/AbstractColorTest.php

19 lines
427 B
PHP
Raw Normal View History

2014-05-10 20:28:08 +02:00
<?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');
}
}