public function GenericEventTest::testOffsetSet

File

drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php, line 103

Class

GenericEventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

public function testOffsetSet() {
  $this->event['foo2'] = 'bar2';
  $this
    ->assertAttributeSame(array(
    'name' => 'Event',
    'foo2' => 'bar2',
  ), 'arguments', $this->event);
}