You are here

public function OtherEventTest::testFieldEvent in Hook Event Dispatcher 8

Test a FieldPreprocessEvent.

File

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

Class

OtherEventTest
Class OtherEventTest.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess

Code

public function testFieldEvent() {
  $this
    ->createAndAssertEvent(FieldPreprocessEvent::class);
}