You are here

public function AssetsDataCollectorTest::setUp in Devel 4.x

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 webprofiler/tests/src/Unit/DataCollector/AssetsDataCollectorTest.php \Drupal\Tests\webprofiler\Unit\DataCollector\AssetsDataCollectorTest::setUp()
  3. 8.2 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
    ->createMock('Drupal\\Core\\Asset\\AssetCollectionRendererInterface');
}