You are here

public function EventManagerTest::testInitialState in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php, line 28

Class

EventManagerTest

Namespace

Doctrine\Tests\Common

Code

public function testInitialState() {
  $this
    ->assertEquals(array(), $this->_eventManager
    ->getListeners());
  $this
    ->assertFalse($this->_eventManager
    ->hasListeners(self::preFoo));
  $this
    ->assertFalse($this->_eventManager
    ->hasListeners(self::postFoo));
}