You are here

public function GenericEventTest::testOffsetUnset 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::testOffsetUnset()

File

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

Class

GenericEventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

public function testOffsetUnset() {
  unset($this->event['name']);
  $this
    ->assertAttributeSame(array(), 'arguments', $this->event);
}