public function flushSystemCachesByChangedFilesFlushesPolicyAndDoctrineCachesIfAPolicyFileHasBeenModified()
{
$this->registerCache('Flow_Object_Classes');
$this->registerCache('Flow_Object_Configuration');
$policyCache = $this->registerCache('Flow_Security_Authorization_Privilege_Method');
$policyCache->expects($this->once())->method('flush');
$aopExpressionCache = $this->registerCache('Flow_Aop_RuntimeExpressions');
$aopExpressionCache->expects($this->once())->method('flush');
$doctrineCache = $this->registerCache('Flow_Persistence_Doctrine');
$doctrineCache->expects($this->once())->method('flush');
$doctrineResultsCache = $this->registerCache('Flow_Persistence_Doctrine_Results');
$doctrineResultsCache->expects($this->once())->method('flush');
$this->cacheManager->flushSystemCachesByChangedFiles('Flow_ConfigurationFiles', ['Some/Other/File' => ChangeDetectionStrategyInterface::STATUS_CHANGED, 'Some/Package/Configuration/Policy.yaml' => ChangeDetectionStrategyInterface::STATUS_CHANGED]);
}