1 | <?php |
||
10 | class NotResolvableExceptionTest extends \PHPUnit_Framework_TestCase |
||
11 | { |
||
12 | public function testSubClassOfRuntimeException() |
||
13 | { |
||
14 | $e = new NotResolvableException(); |
||
15 | |||
16 | $this->assertInstanceOf('\RuntimeException', $e); |
||
17 | } |
||
18 | |||
19 | public function testImplementsExceptionInterface() |
||
20 | { |
||
21 | $e = new NotResolvableException(); |
||
22 | |||
23 | $this->assertInstanceOf('Liip\ImagineBundle\Exception\ExceptionInterface', $e); |
||
24 | } |
||
25 | } |
||
26 |