cache = new APCuCache('localhost'); $this->lock = new CacheLock($this->cache); parent::setUp(); } protected function getInstance(): CacheLock { return $this->lock; } protected function getCache(): ICanCacheInMemory { return $this->cache; } }