public function AbstractEventDispatcherTest::testLegacyDispatch in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testLegacyDispatch()
@group legacy
File
- vendor/
symfony/ event-dispatcher/ Tests/ AbstractEventDispatcherTest.php, line 128
Class
Namespace
Symfony\Component\EventDispatcher\TestsCode
public function testLegacyDispatch() {
$event = new Event();
$return = $this->dispatcher
->dispatch(self::preFoo, $event);
$this
->assertEquals('pre.foo', $event
->getName());
}