| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 28 | public function testGetObjectShortName() |
||
| 29 | { |
||
| 30 | |||
| 31 | $expectedToObjects = [ |
||
| 32 | 'NamespaceHelperTest' => $this, |
||
| 33 | 'NamespaceHelper' => self::$helper, |
||
| 34 | ]; |
||
| 35 | $actual = []; |
||
| 36 | foreach ($expectedToObjects as $object) { |
||
| 37 | $actual[self::$helper->getObjectShortName($object)] = $object; |
||
| 38 | } |
||
| 39 | $this->assertSame($expectedToObjects, $actual); |
||
| 40 | } |
||
| 56 |