@Test public void testCITASha3() throws IOException { buildResponse( "{\n" + " \"id\":64,\n" + " \"jsonrpc\": \"2.0\",\n" + " \"result\": " + "\"0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad\"\n" + "}" ); CITASha3 CITASha3 = deserialiseResponse(CITASha3.class); assertThat(CITASha3.getResult(), is("0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad")); }
public T getResult() { return result; }
Response { public T getResult() { return result; } }
Response { public T getResult() { return result; } Response(); }
Response { public T getResult() { return result; } Response(); long getId(); void setId(long id); String getJsonrpc(); void setJsonrpc(String jsonrpc); T getResult(); void setResult(T result); Error getError(); void setError(Error error); boolean hasError(); String getRawResponse(); void setRawResponse(String rawResponse); }
Response { public T getResult() { return result; } Response(); long getId(); void setId(long id); String getJsonrpc(); void setJsonrpc(String jsonrpc); T getResult(); void setResult(T result); Error getError(); void setError(Error error); boolean hasError(); String getRawResponse(); void setRawResponse(String rawResponse);  }