public function EventManagerTest::testInitialState in Plug 7
File
- lib/
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));
}