You are here

public function FactoryMapperTest::testNoneExistingHook in Hook Event Dispatcher 8

Test a none existing hook.

File

tests/src/Unit/Preprocess/FactoryMapperTest.php, line 75

Class

FactoryMapperTest
Class FactoryMapperTest.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess

Code

public function testNoneExistingHook() {
  $factory = $this->mapper
    ->getFactory('NoneExistingHook');
  self::assertEquals(NULL, $factory);
}