| 1 | <?php |
||
| 8 | class HandlerNotFoundExceptionTest extends TestCase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @expectedException \Netgen\Bundle\OpenGraphBundle\Exception\HandlerNotFoundException |
||
| 12 | * @expectedExceptionMessage Meta tag handler with 'test' identifier not found. |
||
| 13 | */ |
||
| 14 | public function testExceptionThrow() |
||
| 15 | { |
||
| 16 | throw new HandlerNotFoundException('test'); |
||
| 17 | } |
||
| 18 | } |
||
| 19 |