Ejemplo n.º 1
0
 /**
  * @covers Phossa\Event\EventManager::getEventNames
  */
 public function testGetEventNames()
 {
     $l = new Listener();
     $this->object->attachListener($l);
     // check attached event
     $evts = $this->object->getEventNames();
     $this->assertTrue($evts === array_keys($l->getEventsListening()));
 }