public function DazzlerTest::testModuleImplementsAlter in Formdazzle! 2.x
@covers ::moduleImplementsAlter
@dataProvider providerModuleImplementsAlter
File
- tests/
src/ Unit/ DazzlerTest.php, line 926
Class
- DazzlerTest
- @coversDefaultClass \Drupal\formdazzle\Dazzler @group formdazzle
Namespace
Drupal\Tests\formdazzle\UnitCode
public function testModuleImplementsAlter(array $implementations, string $hook, array $expected) {
Dazzler::moduleImplementsAlter($implementations, $hook);
$this
->assertEquals(array_keys($expected), array_keys($implementations), $this
->getTestMessage());
}