function StorageReplaceDataWrapperTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php \Drupal\KernelTests\Core\Config\Storage\StorageReplaceDataWrapperTest::setUp()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php \Drupal\KernelTests\Core\Config\Storage\StorageReplaceDataWrapperTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php \Drupal\KernelTests\Core\Config\Storage\StorageReplaceDataWrapperTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php, line 20

Class

StorageReplaceDataWrapperTest
Tests StorageReplaceDataWrapper operations.

Namespace

Drupal\KernelTests\Core\Config\Storage

Code

protected function setUp() : void {
    parent::setUp();
    $this->storage = new StorageReplaceDataWrapper($this->container
        ->get('config.storage'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.