You are here

public function CacheItemBackendTest::setup in Flysystem 3.0.x

Same name and namespace in other branches
  1. 8 tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::setup()
  2. 3.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::setup()
  3. 2.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);
}