protected function HelpTopicTwigTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php \Drupal\Tests\help_topics\Unit\HelpTopicTwigTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
modules/ help_topics/ tests/ src/ Unit/ HelpTopicTwigTest.php, line 45
Class
- HelpTopicTwigTest
- Unit test for the HelpTopicTwig class.
Namespace
Drupal\Tests\help_topics\UnitCode
protected function setUp() : void {
$this->helpTopic = new HelpTopicTwig([], self::PLUGIN_INFORMATION['id'], self::PLUGIN_INFORMATION, $this
->getTwigMock());
}