| Total Complexity | 2 | 
| Total Lines | 29 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 14 | class ConnectionFactoryTest extends TestCase  | 
            ||
| 15 | { | 
            ||
| 16 | /** @var ConnectionFactory */  | 
            ||
| 17 | private $factory;  | 
            ||
| 18 | /** @var ObjectProphecy */  | 
            ||
| 19 | private $container;  | 
            ||
| 20 | /** @var ObjectProphecy */  | 
            ||
| 21 | private $em;  | 
            ||
| 22 | |||
| 23 | public function setUp(): void  | 
            ||
| 24 |     { | 
            ||
| 25 | $this->container = $this->prophesize(ContainerInterface::class);  | 
            ||
| 26 | $this->em = $this->prophesize(EntityManagerInterface::class);  | 
            ||
| 27 | $this->container->get(EntityManager::class)->willReturn($this->em->reveal());  | 
            ||
| 28 | |||
| 29 | $this->factory = new ConnectionFactory();  | 
            ||
| 30 | }  | 
            ||
| 31 | |||
| 32 | /** @test */  | 
            ||
| 33 | public function properServiceFallbackOccursWhenInvoked(): void  | 
            ||
| 43 | }  | 
            ||
| 44 | }  | 
            ||
| 45 |