You are here

public function BlockStyleBaseTest::testBuildConfigurationForm in Block Style Plugins 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/Plugin/BlockStyleBaseTest.php \Drupal\Tests\block_style_plugins\Unit\Plugin\BlockStyleBaseTest::testBuildConfigurationForm()

Tests the buildConfigurationForm method.

See also

::buildConfigurationForm()

File

tests/src/Unit/Plugin/BlockStyleBaseTest.php, line 183

Class

BlockStyleBaseTest
@coversDefaultClass \Drupal\block_style_plugins\Plugin\BlockStyleBase @group block_style_plugins

Namespace

Drupal\Tests\block_style_plugins\Unit\Plugin

Code

public function testBuildConfigurationForm() {
  $form = [];
  $return = $this->plugin
    ->buildConfigurationForm($form, $this->formState
    ->reveal());
  $this
    ->assertArrayEquals([], $return);
}