/**
* @param array<int, Plugin> $plugins
*/
private function getStorefrontPluginRegistry(array
$plugins): StorefrontPluginRegistryInterface
{ $kernel =
$this->
createMock(Kernel::
class);
$kernel->
expects(static::
any()) ->
method('getBundles'
) ->
willReturn($plugins);
return new StorefrontPluginRegistry( $kernel,
$this->
getContainer()->
get(StorefrontPluginConfigurationFactory::
class),
$this->
getContainer()->
get(ActiveAppsLoader::
class) );
}}/**
* @internal
*/
class ConfigurationServiceException extends ConfigurationService
{