You are here

public function OtherEventTest::testPageEvent in Hook Event Dispatcher 8

Test a PagePreprocessEvent.

File

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

Class

OtherEventTest
Class OtherEventTest.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess

Code

public function testPageEvent() {
  $this
    ->createAndAssertEvent(PagePreprocessEvent::class);
}