| Total Complexity | 1 |
| Total Lines | 9 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | |||
| 16 | class UnsupportedTargetExceptionTest extends TestCase |
||
| 17 | { |
||
| 18 | public function testException() |
||
| 19 | { |
||
| 20 | $target = $this->createMock('LoginCidadao\TaskStackBundle\Model\TaskTargetInterface'); |
||
| 21 | |||
| 22 | $e = new UnsupportedTargetException($target); |
||
| 23 | |||
| 24 | $this->assertContains(get_class($target), $e->getMessage()); |
||
| 27 |