$themeService =
new ThemeService( new StorefrontPluginRegistry( $kernel,
$this->
getContainer()->
get(StorefrontPluginConfigurationFactory::
class),
$this->
getContainer()->
get(ActiveAppsLoader::
class) ),
$this->
getContainer()->
get('theme.repository'
),
$this->
getContainer()->
get('theme_sales_channel.repository'
),
$themeCompilerMock,
$this->
getContainer()->
get('event_dispatcher'
),
new DatabaseConfigLoader( $this->
getContainer()->
get('theme.repository'
),
new StorefrontPluginRegistry( $kernel,
$this->
getContainer()->
get(StorefrontPluginConfigurationFactory::
class),
$this->
getContainer()->
get(ActiveAppsLoader::
class) ),
$this->
getContainer()->
get('media.repository'
),
),
$this->
getContainer()->
get(Connection::
class) );
$themeService->
updateTheme(