| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | public function testCreate(): void |
||
| 17 | { |
||
| 18 | $factory = new TestSuiteFactory(); |
||
| 19 | $this->assertType(static::class, $factory->create(static::class)); |
||
| 20 | $this->assertThrowsException(function () use ($factory) { |
||
| 21 | $factory->create(\stdClass::class); |
||
| 22 | }, InvalidTestCaseException::class, "stdClass is not a descendant of MyTester\\TestCase."); |
||
| 23 | } |
||
| 25 |