Neos\Flow\Tests\Unit\Cache\CacheManagerTest::flushSystemCachesByChangedFilesDoesNotFlushI18nCacheIfNoTranslationFileHasBeenModified PHP Method

flushSystemCachesByChangedFilesDoesNotFlushI18nCacheIfNoTranslationFileHasBeenModified() public method

    public function flushSystemCachesByChangedFilesDoesNotFlushI18nCacheIfNoTranslationFileHasBeenModified()
    {
        $this->registerCache('Flow_Object_Classes');
        $this->registerCache('Flow_Object_Configuration');
        $i18nCache = $this->registerCache('Flow_I18n_XmlModelCache');
        $i18nCache->expects($this->never())->method('flush');
        $this->cacheManager->flushSystemCachesByChangedFiles('Flow_TranslationFiles', ['Some/Other/File' => ChangeDetectionStrategyInterface::STATUS_CHANGED]);
    }