You are here

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

@covers ::preRenderForm

@dataProvider providerPreRenderForm

File

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

Class

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

Namespace

Drupal\Tests\formdazzle\Unit

Code

public function testPreRenderForm(array $form, array $expected) {
  $actual = Dazzler::preRenderForm($form);
  $this
    ->assertEquals($expected, $actual, $this
    ->getTestMessage());
}