public function testAssembledPathAfterSavingIsTheSameAsPreviouslyGenerated(): void
{ $pathBuilder =
new SeedingThemePathBuilder(new StaticSystemConfigService());
$generatedPath =
$pathBuilder->
generateNewPath(TestDefaults::SALES_CHANNEL, 'theme', 'foo'
);
// assert seeding is taking into account when generating a new path
static::
assertNotEquals($generatedPath,
$pathBuilder->
assemblePath(TestDefaults::SALES_CHANNEL, 'theme'
));
$pathBuilder->
saveSeed(TestDefaults::SALES_CHANNEL, 'theme', 'foo'
);
// assert that the path is the same after saving
static::
assertEquals($generatedPath,
$pathBuilder->
assemblePath(TestDefaults::SALES_CHANNEL, 'theme'
));
}}