public function testHasListenersType()
 {
     $this->setExpectedException('\\Phalcon\\Events\\Exception');
     $e = new \Phalcon\Events\Manager();
     $e->hasListeners(false);
 }