@Test
public void echoTest() throws Exception {
LOG.info("Client started");
JsonRpcClient client = new JsonRpcClientLocal(new EchoJsonRpcHandler());
Params params = new Params();
params.param1 = "Value1";
params.param2 = "Value2";
Params result = client.sendRequest("echo", params, Params.class);
LOG.info("Response:" + result);
Assert.assertEquals(params.param1, result.param1);
Assert.assertEquals(params.param2, result.param2);
client.close();
LOG.info("Client finished");
}