| 1 | <?php |
||
| 16 | class EntityIriParserTest extends \PHPUnit_Framework_TestCase { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @dataProvider entityIriProvider |
||
| 20 | */ |
||
| 21 | public function testParse($iri, EntityId $expected) { |
||
| 26 | |||
| 27 | public function entityIriProvider() { |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @dataProvider invalidEntityIriProvider |
||
| 36 | */ |
||
| 37 | public function testParseWithException($badIri) { |
||
| 43 | |||
| 44 | public function invalidEntityIriProvider() { |
||
| 50 | } |
||
| 51 |