| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | class MainTest extends TestCase |
||
| 11 | { |
||
| 12 | public function testNonExistentClass(): void |
||
| 16 | } |
||
| 17 | |||
| 18 | public function testNonPrototypeableClass(): void |
||
| 19 | { |
||
| 20 | $this->expectException(Exception::class); |
||
| 21 | Prototypes::addClassMethod(stdClass::class, 'RandomMethod', fn() => true); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function testMainClassCannotBeInstantiated(): void |
||
| 28 | } |
||
| 29 | } |
||
| 30 |