You are here

protected function ConfigEntityUnitTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php \Drupal\KernelTests\Core\Config\ConfigEntityUnitTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php, line 40

Class

ConfigEntityUnitTest
Unit tests for configuration entity base methods.

Namespace

Drupal\KernelTests\Core\Config

Code

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