@Test
public void testErrorFromJson() {

    RpcErrorResponse errorResponse = CONV.errorFromJson(METHOD_NOT_FOUND_RESP);
    Assert.assertNotNull(errorResponse);
    Assert.assertEquals("2.0", errorResponse.getJsonrpc());
    Assert.assertEquals(51, errorResponse.getId());
    Assert.assertNotNull(errorResponse.getError());
    Assert.assertEquals(-32601, errorResponse.getError().getCode());
    Assert.assertEquals("Method not found", errorResponse.getError().getMessage());
}