public function testPurgeAll() { $this->purgeClient->expects($this->once())->method('purgeAll'); $purger = new InstantCachePurger($this->purgeClient, $this->contentService, $this->eventDispatcher); $purger->purgeAll(); }
/** * @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(); }