->
method('fetchAllAssociative'
) ->
willReturn([ ['iso3' => 'DEU', 'iso' => 'DE'
],
['iso3' => 'GBR', 'iso' => 'GB'
],
]);
$this->translator->
method('trans'
)->
willReturnCallback(fn (string
$key): string =>
$key);
$this->twig->
expects(static::
once())->
method('render'
) ->
with( '@Installer/installer/shop-configuration.html.twig',
array_merge($this->
getDefaultViewParams(),
[ 'error' => null,
'countryIsos' =>
[ ['iso3' => 'DEU', 'default' => true, 'translated' => 'shopware.installer.select_country_deu'
],
['iso3' => 'GBR', 'default' => false, 'translated' => 'shopware.installer.select_country_gbr'
],
],
'currencyIsos' =>
['EUR', 'USD'
],
'languageIsos' =>
['de' => 'de-DE', 'en' => 'en-GB'
],
'parameters' =>
['config_shop_language' => 'de-DE'
],
]) ) ->
willReturn('config'
);