@Test
public void testSyncHandleTimeout() throws Exception {

    try {
        rpcFuture.get(100, TimeUnit.MILLISECONDS);
    } catch (RpcException ex2) {
        Assert.assertTrue(ex2.getCode() == RpcException.TIMEOUT_EXCEPTION);
    }
}