public function testPurgeOneLocationId() { $locationId = 123; $this->cacheManager->expects($this->once())->method('invalidate')->with(array('X-Location-Id' => "^({$locationId})\$")); $this->purgeClient->purge($locationId); }