Example #1
0
 /**
  * @covers Phossa\Event\EventManager::clearEventQueue
  */
 public function testClearEventQueue()
 {
     $l = new Listener();
     $this->object->attachListener($l);
     $this->assertTrue($this->object->hasEventQueue('evtTest3'));
     $this->object->clearEventQueue('evtTest3');
     $this->assertTrue($this->object->hasEventQueue('evtTest3') === false);
 }