| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class UtilityTest extends \PHPUnit\Framework\TestCase |
||
| 12 | { |
||
| 13 | public function testGetShortClassName(): void |
||
| 14 | { |
||
| 15 | self::assertSame('User', Utility::getShortClassName(new User())); |
||
| 16 | self::assertSame('User', Utility::getShortClassName(User::class)); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function testModelToId(): void |
||
| 45 | } |
||
| 46 | } |
||
| 47 |