You are here

public function CacheItemBackendTest::setup in Flysystem 8

Same name and namespace in other branches
  1. 3.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::setup()
  2. 2.0.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::setup()
  3. 3.0.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::setup()

File

tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php, line 35

Class

CacheItemBackendTest
@group flysystem

Namespace

Drupal\Tests\flysystem\Unit\Flysystem\Adapter

Code

public function setup() {
  $this->cacheBackend = new MemoryBackend('foo');
  $this->cacheItemBackend = new CacheItemBackend('test-scheme', $this->cacheBackend);
}