@Test
public void testProtobufRpcMethodInfo() throws Exception {

    Method method = EchoService.class.getMethod("echo", Echo.EchoRequest.class);
    ProtobufRpcMethodInfo rpcMethodInfo = new ProtobufRpcMethodInfo(method);
    Assert.assertTrue(rpcMethodInfo.getInputInstance() != null);
    Assert.assertTrue(rpcMethodInfo.getInputGetDefaultInstanceMethod() != null);
}