public function GenericEventTest::testSetArguments in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/event-dispatcher/Tests/GenericEventTest.php \Symfony\Component\EventDispatcher\Tests\GenericEventTest::testSetArguments()
File
- vendor/
symfony/ event-dispatcher/ Tests/ GenericEventTest.php, line 64
Class
- GenericEventTest
- Test class for Event.
Namespace
Symfony\Component\EventDispatcher\TestsCode
public function testSetArguments() {
$result = $this->event
->setArguments(array(
'foo' => 'bar',
));
$this
->assertAttributeSame(array(
'foo' => 'bar',
), 'arguments', $this->event);
$this
->assertSame($this->event, $result);
}