    @Test
    public void testInputDecode3() throws Exception {

        Method method = EchoService.class.getMethod("echo", Echo.EchoRequest.class);
        ProtobufRpcMethodInfo rpcMethodInfo = new ProtobufRpcMethodInfo(method);

        Echo.EchoRequest request = Echo.EchoRequest.newBuilder().setMessage("hello").build();
        byte[] bytes = request.toByteArray();
        ByteBuf byteBuf = Unpooled.wrappedBuffer(bytes);
        Echo.EchoRequest request1 = (Echo.EchoRequest) rpcMethodInfo.inputDecode(byteBuf);
        Assert.assertTrue(request1.getMessage().equals(request.getMessage()));
    }