eZ\Publish\Core\MVC\Symfony\Cache\Tests\LocalPurgeClientTest::testPurgeAll PHP Method

testPurgeAll() public method

public testPurgeAll ( )
    public function testPurgeAll()
    {
        $cacheStore = $this->getMock('eZ\\Publish\\Core\\MVC\\Symfony\\Cache\\Http\\ContentPurger');
        $cacheStore->expects($this->once())->method('purgeAllContent');
        $purgeClient = new LocalPurgeClient($cacheStore);
        $purgeClient->purgeAll();
    }
LocalPurgeClientTest