function DataCollectorBaseTest::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');
}