function ImmutableConfigTest::setUp
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php \Drupal\Tests\Core\Config\ImmutableConfigTest::setUp()
- 10 core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php \Drupal\Tests\Core\Config\ImmutableConfigTest::setUp()
- 11.x core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php \Drupal\Tests\Core\Config\ImmutableConfigTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Config/ ImmutableConfigTest.php, line 25
Class
- ImmutableConfigTest
- @coversDefaultClass \Drupal\Core\Config\ImmutableConfig @group Config
Namespace
Drupal\Tests\Core\ConfigCode
protected function setUp() : void {
parent::setUp();
$storage = $this->createMock('Drupal\\Core\\Config\\StorageInterface');
$event_dispatcher = $this->createMock('Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface');
$typed_config = $this->createMock('Drupal\\Core\\Config\\TypedConfigManagerInterface');
$this->config = new ImmutableConfig('test', $storage, $event_dispatcher, $typed_config);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.