eZ\Publish\Core\MVC\Symfony\Cache\Tests\Http\FOSPurgeClientTest::testPurgeOneLocationId PHP Method

testPurgeOneLocationId() public method

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