Пример #1
0
 public function testDetachAllException()
 {
     $this->setExpectedException('\\Phalcon\\Events\\Exception');
     $e = new \Phalcon\Events\Manager();
     $e->detachAll((object) 'invalid');
 }