You are here

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\Unit

Code

public function testModuleImplementsAlter(array $implementations, string $hook, array $expected) {
  Dazzler::moduleImplementsAlter($implementations, $hook);
  $this
    ->assertEquals(array_keys($expected), array_keys($implementations), $this
    ->getTestMessage());
}