| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function testCreateObjectFromInterface() |
||
| 30 | { |
||
| 31 | $service = new ObjectCreatorService(); |
||
| 32 | $player = $service->createObjectFromInterface(PlayerInterface::class, [], |
||
| 33 | ["entityMaps" => [PlayerInterface::class => Player::class]]); |
||
| 34 | self::assertInstanceOf(PlayerInterface::class, $player); |
||
| 35 | } |
||
| 36 | //</editor-fold desc="Public Methods"> |
||
| 37 | } |