| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 21 | public function testVisitThrowsException(): void |
||
| 22 | { |
||
| 23 | self::expectException(RuntimeException::class); |
||
|
|
|||
| 24 | self::expectExceptionMessage('No visitor available for Mock'); |
||
| 25 | |||
| 26 | /** @var AbstractNode $nodeMock */ |
||
| 27 | $nodeMock = $this->getMockBuilder(AbstractNode::class)->getMock(); |
||
| 28 | (new Aggregate)->visit($nodeMock); |
||
| 29 | } |
||
| 32 |