You are here

protected function FileCacheTest::setUp in Zircon Profile 8.0

Same name in this branch
  1. 8.0 core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php \Drupal\Tests\Component\FileCache\FileCacheTest::setUp()
  2. 8.0 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/FileCacheTest.php \Doctrine\Tests\Common\Cache\FileCacheTest::setUp()
Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php \Drupal\Tests\Component\FileCache\FileCacheTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php, line 36
Contains \Drupal\Tests\Component\FileCache\FileCacheTest.

Class

FileCacheTest
@coversDefaultClass \Drupal\Component\FileCache\FileCache @group FileCache

Namespace

Drupal\Tests\Component\FileCache

Code

protected function setUp() {
  parent::setUp();
  $this->fileCache = new FileCache('prefix', 'test', '\\Drupal\\Tests\\Component\\FileCache\\StaticFileCacheBackend', [
    'bin' => 'llama',
  ]);
  $this->staticFileCache = new StaticFileCacheBackend([
    'bin' => 'llama',
  ]);
}