public function GenericEventTest::testHasIterator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/event-dispatcher/Tests/GenericEventTest.php \Symfony\Component\EventDispatcher\Tests\GenericEventTest::testHasIterator()
File
- vendor/
symfony/ event-dispatcher/ Tests/ GenericEventTest.php, line 131
Class
- GenericEventTest
- Test class for Event.
Namespace
Symfony\Component\EventDispatcher\TestsCode
public function testHasIterator() {
$data = array();
foreach ($this->event as $key => $value) {
$data[$key] = $value;
}
$this
->assertEquals(array(
'name' => 'Event',
), $data);
}