try { $pathBuilder->
getDecorated();
} catch (DecorationPatternException
$e) { static::
assertInstanceOf(DecorationPatternException::
class,
$e);
} $compiler->
compileTheme( TestDefaults::SALES_CHANNEL,
'test',
$config,
new StorefrontPluginConfigurationCollection(),
false,
Context::
createDefaultContext() );
static::
assertTrue($fs->
has('theme/9a11a759d278b4a55cb5e2c3414733c1'
));
} public function testAssetPathWillBeAbsoluteConverted(): void
{ $resolver =
$this->
createMock(ThemeFileResolver::
class);
$resolver->
method('resolveFiles'
)->
willReturn([ThemeFileResolver::SCRIPT_FILES =>
new FileCollection(), ThemeFileResolver::STYLE_FILES =>
new FileCollection()]);