function ThemeNegotiatorTest::setUp
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php \Drupal\Tests\Core\Theme\ThemeNegotiatorTest::setUp()
- 10 core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php \Drupal\Tests\Core\Theme\ThemeNegotiatorTest::setUp()
- 11.x core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php \Drupal\Tests\Core\Theme\ThemeNegotiatorTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ ThemeNegotiatorTest.php, line 49
Class
- ThemeNegotiatorTest
- @coversDefaultClass \Drupal\Core\Theme\ThemeNegotiator @group Theme
Namespace
Drupal\Tests\Core\ThemeCode
protected function setUp() : void {
$this->themeAccessCheck = $this->getMockBuilder('\\Drupal\\Core\\Theme\\ThemeAccessCheck')
->disableOriginalConstructor()
->getMock();
$this->container = new ContainerBuilder();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.