/**
  * Sets up the APC backend used for testing
  *
  * @return ApcBackend
  */
 protected function setUpBackend()
 {
     $cache = $this->createMock(\TYPO3\Flow\Cache\Frontend\FrontendInterface::class);
     $backend = new ApcBackend(new ApplicationContext('Testing'));
     $backend->injectEnvironment($this->mockEnvironment);
     $backend->setCache($cache);
     return $backend;
 }
 /**
  * Sets up the APC backend used for testing
  *
  * @return ApcBackend
  */
 protected function setUpBackend()
 {
     $cache = $this->getMock('TYPO3\\Flow\\Cache\\Frontend\\FrontendInterface', array(), array(), '', FALSE);
     $backend = new ApcBackend(new ApplicationContext('Testing'));
     $backend->injectEnvironment($this->mockEnvironment);
     $backend->setCache($cache);
     return $backend;
 }