function IconPackExtractorFormTest::setUp

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php, line 43

Class

IconPackExtractorFormTest
@coversDefaultClass \Drupal\Core\Theme\Icon\IconPackExtractorForm

Namespace

Drupal\Tests\Core\Theme\Icon

Code

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.