| 1 | <?php |
||
| 7 | class HandlerExceptionTest extends TestCase |
||
| 8 | { |
||
| 9 | public function testInvalidHandler() |
||
| 10 | { |
||
| 11 | $exception = HandlerException::invalidHandler('test'); |
||
| 12 | |||
| 13 | $this->assertInstanceOf(HandlerException::class, $exception); |
||
| 14 | $this->assertSame('The handler for `test` is invalid.', $exception->getMessage()); |
||
| 15 | } |
||
| 16 | } |
||
| 17 |