function IconTest::setUp
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Theme/Icon/IconTest.php \Drupal\Tests\Core\Theme\Icon\IconTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconTest.php, line 36
Class
Namespace
Drupal\Tests\Core\Theme\IconCode
protected function setUp() : void {
parent::setUp();
$this->container = new ContainerBuilder();
\Drupal::setContainer($this->container);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.