function IconPackExtractorFormTest::setUp
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php \Drupal\Tests\Core\Theme\Icon\IconPackExtractorFormTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconPackExtractorFormTest.php, line 45
Class
Namespace
Drupal\Tests\Core\Theme\IconCode
protected function setUp() : void {
parent::setUp();
$this->plugin = new TestPluginWithForm();
$this->formState = $this->prophesize(FormStateInterface::class);
$this->iconPackForm = new IconPackExtractorForm();
$this->iconPackForm
->setPlugin($this->plugin);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.