public function testMagicCall() { try { Orm::forTable('widget')->invalid_function(); } catch (Exception $e) { echo $e->getMessage(); return; } $this->fail(); }