You are here

public function AssetsDataCollectorTest::setUp in Devel 8

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

Overrides DataCollectorBaseTest::setUp

File

webprofiler/tests/src/Unit/DataCollector/AssetsDataCollectorTest.php, line 30

Class

AssetsDataCollectorTest
@coversDefaultClass \Drupal\webprofiler\DataCollector\AssetsDataCollector

Namespace

Drupal\Tests\webprofiler\Unit\DataCollector

Code

public function setUp() {
  parent::setUp();
  $this->assetDataCollector = new AssetsDataCollector(AssetsDataCollectorTest::ROOT);
  $this->assetCollectionRendererInterface = $this
    ->getMock('Drupal\\Core\\Asset\\AssetCollectionRendererInterface');
}