You are here

public function OtherEventTest::testBlockEvent in Hook Event Dispatcher 8

Test a BlockPreprocessEvent.

File

tests/src/Unit/Preprocess/OtherEventTest.php, line 67

Class

OtherEventTest
Class OtherEventTest.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess

Code

public function testBlockEvent() {
  $this
    ->createAndAssertEvent(BlockPreprocessEvent::class);
}