| Total Complexity | 4 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ParserTest extends TestCase |
||
| 14 | { |
||
| 15 | /** @var Parser */ |
||
| 16 | private $parser; |
||
| 17 | |||
| 18 | protected function setUp() : void |
||
| 24 | } |
||
| 25 | |||
| 26 | protected function tearDown() : void |
||
| 27 | { |
||
| 28 | $this->parser = null; |
||
| 29 | parent::tearDown(); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function testParseUrl() : void |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @expectedException \InvalidArgumentException |
||
| 54 | * @expectedExceptionMessage Invalid url http:///example.com |
||
| 55 | */ |
||
| 56 | public function testParseBadUrlThrowsInvalidArgumentException() : void |
||
| 59 | } |
||
| 60 | } |
||
| 61 |