Example #1
0
 /**
  * @expectedException RuntimeException
  */
 public function testParseError()
 {
     $client = new Client('http://localhost/');
     $client->parseResponse(json_decode('{"jsonrpc": "2.0", "error": {"code": -32700, "message": "Parse error"}, "id": null}', true));
 }