Inheritance: extends AbstractBackend, implements Neos\Cache\Backend\TaggableBackendInterface
 /**
  * Constructs this backend
  *
  * @param ApplicationContext $context Flow's application context
  * @param array $options Configuration options - depends on the actual backend
  */
 public function __construct(ApplicationContext $context, array $options = [])
 {
     $this->context = $context;
     $environmentConfiguration = $this->createEnvironmentConfiguration($context);
     parent::__construct($environmentConfiguration, $options);
 }
 /**
  * @test
  */
 public function flushRemovesAllCacheEntries()
 {
     $cache = $this->createMock(FrontendInterface::class);
     $backend = new TransientMemoryBackend($this->getEnvironmentConfiguration());
     $backend->setCache($cache);
     $data = 'some data' . microtime();
     $backend->set('TransientMemoryBackendTest1', $data);
     $backend->set('TransientMemoryBackendTest2', $data);
     $backend->set('TransientMemoryBackendTest3', $data);
     $backend->flush();
     $this->assertFalse($backend->has('TransientMemoryBackendTest1'), 'TransientMemoryBackendTest1');
     $this->assertFalse($backend->has('TransientMemoryBackendTest2'), 'TransientMemoryBackendTest2');
     $this->assertFalse($backend->has('TransientMemoryBackendTest3'), 'TransientMemoryBackendTest3');
 }