public function DazzlerTest::testGetFormIdSuggestion in Formdazzle! 2.x
@covers ::getFormIdSuggestion
@dataProvider providerGetFormIdSuggestion
File
- tests/
src/ Unit/ DazzlerTest.php, line 391
Class
- DazzlerTest
- @coversDefaultClass \Drupal\formdazzle\Dazzler @group formdazzle
Namespace
Drupal\Tests\formdazzle\UnitCode
public function testGetFormIdSuggestion(array $form, string $form_id, string $expected) {
$actual = Dazzler::getFormIdSuggestion($form, $form_id);
$this
->assertEquals($expected, $actual, $this
->getTestMessage());
}