You are here

public function DazzlerTest::testPreprocessFormElement in Formdazzle! 2.x

@covers ::preprocessFormElement

@dataProvider providerPreprocessFormElement

File

tests/src/Unit/DazzlerTest.php, line 884

Class

DazzlerTest
@coversDefaultClass \Drupal\formdazzle\Dazzler @group formdazzle

Namespace

Drupal\Tests\formdazzle\Unit

Code

public function testPreprocessFormElement(array $variables, array $expected) {
  Dazzler::preprocessFormElement($variables);
  $this
    ->assertEquals($expected, $variables, $this
    ->getTestMessage());
}