Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function testConstructor() |
||
21 | { |
||
22 | $objectManager = $this->getMock(ObjectManager::class); |
||
23 | |||
24 | $adapter = new DoctrineAdapter(AbstractEntity::class, $objectManager); |
||
25 | $this->assertSame(AbstractEntity::class, $adapter->getEntityClass()); |
||
26 | $this->assertSame($objectManager, $adapter->getObjectManager()); |
||
27 | } |
||
28 | |||
37 |