ContainerInteropDoctrineTest\ConnectionFactoryTest::testConfigKeysTakenFromConfig PHP Метод

testConfigKeysTakenFromConfig() публичный Метод

    public function testConfigKeysTakenFromConfig()
    {
        $factory = new ConnectionFactory('orm_other');
        $connection = $factory($this->buildContainer('orm_other', 'orm_foo', 'orm_bar', ['configuration' => 'orm_foo', 'event_manager' => 'orm_bar'])->reveal());
        $this->assertSame($this->configuration, $connection->getConfiguration());
        $this->assertSame($this->eventManger, $connection->getEventManager());
    }