You are here

public function GenericEventTest::testConstruct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/event-dispatcher/Tests/GenericEventTest.php \Symfony\Component\EventDispatcher\Tests\GenericEventTest::testConstruct()

File

vendor/symfony/event-dispatcher/Tests/GenericEventTest.php, line 50

Class

GenericEventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

public function testConstruct() {
  $this
    ->assertEquals($this->event, new GenericEvent($this->subject, array(
    'name' => 'Event',
  )));
}