protected function ImmutableConfigTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 26 - Contains \Drupal\Tests\Core\Config\ImmutableConfigTest.
Class
- ImmutableConfigTest
- @coversDefaultClass \Drupal\Core\Config\ImmutableConfig @group Config
Namespace
Drupal\Tests\Core\ConfigCode
protected function setUp() {
parent::setUp();
$storage = $this
->getMock('Drupal\\Core\\Config\\StorageInterface');
$event_dispatcher = $this
->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface');
$typed_config = $this
->getMock('Drupal\\Core\\Config\\TypedConfigManagerInterface');
$this->config = new ImmutableConfig('test', $storage, $event_dispatcher, $typed_config);
}