public function AbstractEventDispatcherTest::testInitialState in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest::testInitialState()
File
- vendor/
symfony/ event-dispatcher/ Tests/ AbstractEventDispatcherTest.php, line 47
Class
Namespace
Symfony\Component\EventDispatcher\TestsCode
public function testInitialState() {
$this
->assertEquals(array(), $this->dispatcher
->getListeners());
$this
->assertFalse($this->dispatcher
->hasListeners(self::preFoo));
$this
->assertFalse($this->dispatcher
->hasListeners(self::postFoo));
}