/** * Sets up the APC backend used for testing * * @return ApcBackend */ protected function setUpBackend() { $cache = $this->createMock(FrontendInterface::class); $backend = new ApcBackend($this->getEnvironmentConfiguration(), []); $backend->setCache($cache); return $backend; }