Container::EXCEPTION_ON_INVALID_REFERENCE,
new BazCacheContext(),
],
[ 'cache_context.x',
Container::EXCEPTION_ON_INVALID_REFERENCE,
new BazCacheContext(),
],
[ 'cache_context.a.b.no-optimize',
Container::EXCEPTION_ON_INVALID_REFERENCE,
new NoOptimizeCacheContext(),
],
]);
$cache_contexts_manager =
new CacheContextsManager($container,
$this->
getContextsFixture());
$this->
assertSame($optimized_context_tokens,
$cache_contexts_manager->
optimizeTokens($context_tokens));
} /**
* Provides a list of context token sets.
*/
public function providerTestOptimizeTokens() {