function IconPackExtractorFormTest::testValidateConfigurationForm

Test the IconPackExtractorForm::validateConfigurationForm method.

File

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

Class

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

Namespace

Drupal\Tests\Core\Theme\Icon

Code

public function testValidateConfigurationForm() : void {
    $form = [];
    
    /** @var \Drupal\Core\Form\FormStateInterface $formState */
    $formState = $this->formState
        ->reveal();
    $this->iconPackForm
        ->validateConfigurationForm($form, $formState);
    $this->assertArrayHasKey('plugin_validate_form', $form);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.