You are here

public function DataCollectorBaseTest::setUp in Devel 4.x

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. 8.2 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
    ->createMock('Symfony\\Component\\HttpFoundation\\Request');
  $this->response = $this
    ->createMock('Symfony\\Component\\HttpFoundation\\Response');
  $this->exception = $this
    ->createMock('Exception');
}