You are here

public function CacheDataCollectorTest::setUp in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/tests/src/Unit/DataCollector/CacheDataCollectorTest.php \Drupal\Tests\webprofiler\Unit\DataCollector\CacheDataCollectorTest::setUp()
  2. 8.2 webprofiler/tests/src/Unit/DataCollector/CacheDataCollectorTest.php \Drupal\Tests\webprofiler\Unit\DataCollector\CacheDataCollectorTest::setUp()
  3. 4.x webprofiler/tests/src/Unit/DataCollector/CacheDataCollectorTest.php \Drupal\Tests\webprofiler\Unit\DataCollector\CacheDataCollectorTest::setUp()

Overrides DataCollectorBaseTest::setUp

File

webprofiler/tests/src/Unit/DataCollector/CacheDataCollectorTest.php, line 28

Class

CacheDataCollectorTest
@coversDefaultClass \Drupal\webprofiler\DataCollector\CacheDataCollector

Namespace

Drupal\Tests\webprofiler\Unit\DataCollector

Code

public function setUp() {
  $this->cacheDataCollector = new CacheDataCollector();
  $this->cacheBackendInterface = $this
    ->getMock('Drupal\\Core\\Cache\\CacheBackendInterface');
}