@Test
    public void testParseSerializeType() throws Exception {
        ConsumerConfig consumerConfig = new ConsumerConfig().setProtocol("bolt");
        ConsumerBootstrap bootstrap = Bootstraps.from(consumerConfig);
        BoltClientProxyInvoker invoker = new BoltClientProxyInvoker(bootstrap);
        byte actual = invoker.parseSerializeType(RpcConstants.SERIALIZE_HESSIAN2);
        assertEquals(RemotingConstants.SERIALIZE_CODE_HESSIAN, actual);
    }
@author <a href="mailto:njucoder@gmail.com">Min Li</a>
bootstrap/bootstrap-bolt/src/test/java/com/alipay/sofa/rpc/bootstrap/bolt/BoltClientProxyInvokerTest.java