function ThemeNegotiatorTest::setUp
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ ThemeNegotiatorTest.php, line 51
Class
- ThemeNegotiatorTest
- @coversDefaultClass \Drupal\Core\Theme\ThemeNegotiator[[api-linebreak]] @group Theme
Namespace
Drupal\Tests\Core\ThemeCode
protected function setUp() : void {
parent::setUp();
$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.