static::
assertEquals( [],
$this->scriptReader->
getScriptPathsForApp(__DIR__ . '/../Manifest/_fixtures/minimal'
) );
} public function testGetScriptContent(): void
{ static::
assertStringEqualsFile( __DIR__ . '/../Manifest/_fixtures/test/Resources/scripts/product-page-loaded/product-page-script.twig',
$this->scriptReader->
getScriptContent('product-page-loaded/product-page-script.twig', 'Manifest/_fixtures/test'
) );
} public function testGetScriptContentThrowsOnNotFoundFile(): void
{ static::
expectException(\RuntimeException::
class);
$this->scriptReader->
getScriptContent('does/not/exist', __DIR__ . '/../Manifest/_fixtures/test'
);
}}