You are here

public function OtherEventTest::testViewFieldEvent in Hook Event Dispatcher 8

Test a ViewFieldPreprocessEvent.

File

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

Class

OtherEventTest
Class OtherEventTest.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess

Code

public function testViewFieldEvent() {
  $this
    ->createAndAssertEvent(ViewFieldPreprocessEvent::class);
}