public function OtherEventTest::testHtmlEvent in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/tests/src/Unit/OtherEventTest.php \Drupal\Tests\preprocess_event_dispatcher\Unit\OtherEventTest::testHtmlEvent()
Test a HtmlPreprocessEvent.
File
- modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ OtherEventTest.php, line 88
Class
- OtherEventTest
- Class OtherEventTest.
Namespace
Drupal\Tests\preprocess_event_dispatcher\UnitCode
public function testHtmlEvent() : void {
$this
->createAndAssertEvent(HtmlPreprocessEvent::class);
}