| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ParseExceptionTest extends TestCase |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @return ParseException |
||
| 16 | */ |
||
| 17 | public function testCreation() |
||
| 18 | { |
||
| 19 | $exception = new ParseException('message string'); |
||
| 20 | self::assertInstanceOf('Ktomk\Pipelines\File\ParseException', $exception); |
||
| 21 | self::assertInstanceOf('InvalidArgumentException', $exception); |
||
| 22 | self::assertInstanceOf('Exception', $exception); |
||
| 23 | |||
| 24 | return $exception; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param ParseException $exception |
||
| 29 | * @depends testCreation |
||
| 30 | */ |
||
| 31 | public function testGetParseMessage(ParseException $exception) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | */ |
||
| 38 | public function testThrowing() |
||
| 44 | } |
||
| 45 | } |
||
| 46 |