public function testErrorHandler() { $this->client->expects($this->once())->method('notify'); $this->client->errorHandler(E_WARNING, "Something broke", "somefile.php", 123); }
/** * * * @static */ public static function errorHandler($errno, $errstr, $errfile = '', $errline = 0) { return \Bugsnag_Client::errorHandler($errno, $errstr, $errfile, $errline); }