protected function HelpTopicTwigLoaderTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php \Drupal\Tests\help_topics\Unit\HelpTopicTwigLoaderTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
modules/ help_topics/ tests/ src/ Unit/ HelpTopicTwigLoaderTest.php, line 35
Class
- HelpTopicTwigLoaderTest
- Unit test for the HelpTopicTwigLoader class.
Namespace
Drupal\Tests\help_topics\UnitCode
protected function setUp() : void {
$this
->setUpVfs();
$this->helpLoader = new HelpTopicTwigLoader('\\fake\\root\\path', $this
->getHandlerMock('module'), $this
->getHandlerMock('theme'));
}