public function EventManagerTest::testInitialState in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php \Doctrine\Tests\Common\EventManagerTest::testInitialState()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ EventManagerTest.php, line 28
Class
Namespace
Doctrine\Tests\CommonCode
public function testInitialState() {
$this
->assertEquals(array(), $this->_eventManager
->getListeners());
$this
->assertFalse($this->_eventManager
->hasListeners(self::preFoo));
$this
->assertFalse($this->_eventManager
->hasListeners(self::postFoo));
}