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