cache = new ArrayCache(); return new CacheLockDriver($this->cache); } public function tearDown() { $this->cache->clear(); parent::tearDown(); } }