$this->adminConfigService,
$this->translator,
['de' => 'de-DE', 'en' => 'en-GB'
],
['EUR', 'USD'
] );
$this->controller->
setContainer($this->
getInstallerContainer($this->twig,
['router' =>
$this->router
]));
} public function testGetConfigurationRoute(): void
{ $request =
new Request();
$session =
new Session(new MockArraySessionStorage());
$session->
set(DatabaseConnectionInformation::
class,
new DatabaseConnectionInformation());
$session->
set(BlueGreenDeploymentService::ENV_NAME, true
);
$request->
setMethod('GET'
);
$request->
setSession($session);
$request->attributes->
set('_locale', 'de'
);
$this->connection->
expects(static::
once()) ->
method('fetchAllAssociative'
) ->
willReturn([ ['iso3' => 'DEU', 'iso' => 'DE'
],
['iso3' => 'GBR', 'iso' => 'GB'
],
]);