protected function setUp(): void
{ $mockThemeFileResolver =
$this->
createMock(ThemeFileResolver::
class);
$eventDispatcher =
$this->
createMock(EventDispatcher::
class);
// Avoid filesystem operations
$mockFilesystem =
new Filesystem(new InMemoryFilesystemAdapter());
$this->mockSalesChannelId = '98432def39fc4624b33213a56b8c944d';
$this->themeCompiler =
new ThemeCompiler( $mockFilesystem,
$mockFilesystem,
$mockThemeFileResolver,
true,
$eventDispatcher,
$this->
createMock(ThemeFileImporter::
class),
['theme' =>
new UrlPackage(['http://localhost'
],
new EmptyVersionStrategy())],
$this->
createMock(CacheInvalidator::
class),
new MD5ThemePathBuilder(),
__DIR__,
$this->
createMock(ScssPhpCompiler::
class),