protected function getExpectedCacheTags() { return Cache::
mergeTags([ // The cache tag set by the processed_text element itself.
'config:filter.format.my_text_format',
// The cache tags set by the filter_test_cache_tags filter.
'foo:bar',
'foo:baz',
// The cache tags set by the filter_test_cache_merge filter.
'merge:tag',
], parent::
getExpectedCacheTags());
} /**
* {@inheritdoc}
*/
protected function getExpectedCacheContexts() { return Cache::
mergeContexts([ // The cache context set by the filter_test_cache_contexts filter.
'languages:' . LanguageInterface::TYPE_CONTENT,
// The default cache contexts for Renderer.
'languages:' . LanguageInterface::TYPE_INTERFACE,