GreeterService implements Greeter.Iface { @Override public HelloReply sayHello(HelloRequest req) throws TException { return new HelloReply("Hello " + req.getName()); }  @Override HelloReply sayHello(HelloRequest req);  }
@Test public void testSimpleCall() throws Exception { HelloRequest msg = new HelloRequest("Dude"); HelloReply resp = client.sayHello(msg); assertEquals(resp.message, "Hello Dude"); }