Exemplo n.º 1
0
 public function testFireQueueInvalidEventNameType()
 {
     $e = new \Phalcon\Events\Manager();
     $this->setExpectedException('\\Phalcon\\Events\\Exception');
     include_once __DIR__ . '/Events/InvalidEventType.php';
     $event = new InvalidEventType('type', (object) 'random', array('data'), false);
     $e->fireQueue(array('queue'), $event);
 }