You are here

public function DataCollectorBaseTest::setUp in Devel 8.2

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

Overrides UnitTestCase::setUp

1 call to DataCollectorBaseTest::setUp()
AssetsDataCollectorTest::setUp in webprofiler/tests/src/Unit/DataCollector/AssetsDataCollectorTest.php
2 methods override DataCollectorBaseTest::setUp()
AssetsDataCollectorTest::setUp in webprofiler/tests/src/Unit/DataCollector/AssetsDataCollectorTest.php
CacheDataCollectorTest::setUp in webprofiler/tests/src/Unit/DataCollector/CacheDataCollectorTest.php

File

webprofiler/tests/src/Unit/DataCollector/DataCollectorBaseTest.php, line 32

Class

DataCollectorBaseTest
Class DataCollectorBaseTest.

Namespace

Drupal\Tests\webprofiler\Unit\DataCollector

Code

public function setUp() {
  parent::setUp();
  $this->request = $this
    ->getMock('Symfony\\Component\\HttpFoundation\\Request');
  $this->response = $this
    ->getMock('Symfony\\Component\\HttpFoundation\\Response');
  $this->exception = $this
    ->getMock('Exception');
}