private MockObject&StorefrontPluginRegistry
$themeRegistryMock;
private ThemeInheritanceBuilder
$builder;
private StorefrontPluginConfigurationFactory
$configFactory;
protected function setUp(): void
{ $this->themeRegistryMock =
$this->
createMock(StorefrontPluginRegistry::
class);
$this->builder =
new ThemeInheritanceBuilder($this->themeRegistryMock
);
$this->configFactory =
$this->
getContainer()->
get(StorefrontPluginConfigurationFactory::
class);
} public function testInheritanceWithConfig(): void
{ $configs =
new StorefrontPluginConfigurationCollection([ $this->configFactory->
createFromBundle(new Storefront()),
$this->configFactory->
createFromBundle(new InheritanceWithConfig()),
]);