public function flushSystemCachesByChangedFilesWithChangedTestFileRemovesCacheEntryFromObjectClassesCache() { $objectClassCache = $this->registerCache('Flow_Object_Classes'); $objectConfigurationCache = $this->registerCache('Flow_Object_Configuration'); $this->registerCache('Flow_Reflection_Status'); $objectClassCache->expects($this->once())->method('remove')->with('Neos_Flow_Tests_Unit_Cache_CacheManagerTest'); $objectConfigurationCache->expects($this->once())->method('remove')->with('allCompiledCodeUpToDate'); $this->cacheManager->flushSystemCachesByChangedFiles('Flow_ClassFiles', [__FILE__ => ChangeDetectionStrategyInterface::STATUS_CHANGED]); }