Method ping = TestProtocol.class.getMethod("ping", new Class[] {});
Object[] voids = (Object[]) RPC.call(ping, new Object[][] { {}, {} },
new InetSocketAddress[] { addr, addr }, null, conf);
assertEquals(voids, null);
server.stop();
}
public static void main(String[] args) throws Exception {
new TestRPC("test").testCalls();