public function testPurgeAll() { $this->cacheManager->expects($this->once())->method('invalidate')->with(array('X-Location-Id' => '.*')); $this->purgeClient->purgeAll(); }