You are here

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

File

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

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);
}