| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function testInvalidReference(): void |
||
| 41 | { |
||
| 42 | /** @var console\Application $app */ |
||
| 43 | $app = $this->createMock(console\Application::class); |
||
| 44 | $group = new BootstrapGroup([ |
||
| 45 | 'items' => [ |
||
| 46 | new \stdClass, |
||
| 47 | ], |
||
| 48 | ]); |
||
| 49 | |||
| 50 | $this->expectException(base\InvalidConfigException::class); |
||
| 51 | /** @noinspection PhpUnhandledExceptionInspection */ |
||
| 52 | $group->bootstrap($app); |
||
| 53 | } |
||
| 54 | } |
||
| 55 |