$this->cachedResolvedConfigLoaderInvalidator->
assigned($event);
static::
assertEquals( $expectedInvalidatedTags,
$this->cacheInvalidator->
getInvalidatedTags() );
} public function testInvalidate(): void
{ $themeId = Uuid::
randomHex();
$event =
new ThemeConfigChangedEvent($themeId,
['test' => 'test'
]);
$expectedInvalidatedTags =
[ 'theme-config-' .
$themeId,
'theme.test',
];
$this->cachedResolvedConfigLoaderInvalidator->
invalidate($event);
static::
assertEquals( $expectedInvalidatedTags,
$this->cacheInvalidator->
getInvalidatedTags() );