purgeAll() public method

public purgeAll ( )
コード例 #1
0
 public function testPurgeAll()
 {
     $this->purgeClient->expects($this->once())->method('purgeAll');
     $purger = new InstantCachePurger($this->purgeClient, $this->contentService, $this->eventDispatcher);
     $purger->purgeAll();
 }
コード例 #2
0
 /**
  * @covers \eZ\Publish\Core\MVC\Symfony\Cache\Http\InstantCachePurger::purgeAll
  */
 public function testPurgeAll()
 {
     $this->purgeClient->expects($this->once())->method('purgeAll');
     $purger = new InstantCachePurger($this->purgeClient);
     $purger->purgeAll();
 }