/** * @covers eZ\Bundle\EzPublishCoreBundle\Cache\Http\InstantCachePurger::clear */ public function testClear() { $this->purgeClient->expects($this->once())->method('purgeAll'); $purger = new InstantCachePurger($this->purgeClient); $purger->clear('cache/dir/'); }
public function testClear() { $this->purgeClient->expects($this->once())->method('purgeAll'); $purger = new InstantCachePurger($this->purgeClient, $this->contentService, $this->eventDispatcher); $purger->clear('cache/dir/'); }