| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 22 | 3 | public function testTypePath(string $pathExpression, int $expectedLength): void |
|
| 23 | { |
||
| 24 | 3 | $typePath = ValuePathParser::create()->parse($pathExpression); |
|
| 25 | |||
| 26 | 3 | $this->assertCount($expectedLength, $typePath); |
|
| 27 | 3 | $this->assertEquals($pathExpression, $typePath->__toString()); |
|
| 28 | 3 | } |
|
| 58 |