You are here

public function GenericEventTest::testOffsetIsset in Zircon Profile 8

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

File

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

Class

GenericEventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

public function testOffsetIsset() {
  $this
    ->assertTrue(isset($this->event['name']));
  $this
    ->assertFalse(isset($this->event['nameNotExist']));
}