[ 'host' => '1.2.3.4', ], 'user' => [ 'foo' => 'bar', ], 'role' => [ 'bar' => 'foo', ], ]; } public function testMapping() { $sut = $this->getSut($this->getDefaultSettings()); $this->assertEquals(['foo' => 'bar'], $sut->getUserParameters()); $this->assertEquals(['bar' => 'foo'], $sut->getRoleParameters()); $this->assertEquals(['host' => '1.2.3.4'], $sut->getConnectionParameters()); } }