protected function tearDown()
 {
     parent::tearDown();
     $filesystem = new Filesystem();
     $filesystem->remove($this->getRootCacheDirectory());
     $filesystem->remove($this->builder->buildPrefix());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->filesystem = new Filesystem();
     $this->builder = new SaveAreaBuilder('test', $this->filesystem);
     $this->cleanup = new CacheCleanup($this->builder, $this->filesystem);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->factory = new RegisterFactory();
 }
 protected function tearDown()
 {
     parent::tearDown();
     $this->filesystem->remove($this->builder->buildPrefix());
 }
 public function setUp()
 {
     parent::setUp();
     // re-create each test case (if not, fail to run expects method)
     $this->loader = $this->createLoaderMock(array('walkAllLeaves', 'walkInternal'));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->saver = new CacheSaver();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->pass = new RegisterPass();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->warmer = new CacheWarmer();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->restorer = new CacheRestorer();
 }