You are here

protected function ConfigEntityUnitTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config/src/Tests/ConfigEntityUnitTest.php \Drupal\config\Tests\ConfigEntityUnitTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/config/src/Tests/ConfigEntityUnitTest.php, line 45
Contains \Drupal\config\Tests\ConfigEntityUnitTest.

Class

ConfigEntityUnitTest
Unit tests for configuration entity base methods.

Namespace

Drupal\config\Tests

Code

protected function setUp() {
  parent::setUp();
  $this->storage = $this->container
    ->get('entity.manager')
    ->getStorage('config_test');
}