public function flushCachesCallsTheFlushConfigurationCacheMethodOfConfigurationManager() { $this->mockConfigurationManager->expects($this->once())->method('flushConfigurationCache'); $this->cacheManager->flushCaches(); }