Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class EntityManagerPoolTest extends TestCase |
||
22 | { |
||
23 | private EntityManagerPoolInterface $pool; |
||
24 | private EntityManagerFactoryInterface $emFactory; |
||
25 | |||
26 | protected function setUp(): void |
||
27 | { |
||
28 | $this->emFactory = $this->createMock(EntityManagerFactoryInterface::class); |
||
29 | |||
30 | $this->pool = new EntityManagerPool( |
||
31 | $this->emFactory, |
||
32 | [], |
||
33 | ); |
||
34 | } |
||
35 | |||
36 | public function testGetDefaultManager() |
||
40 | } |
||
41 | |||
42 | public function testGetManager() |
||
55 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.