@Test
    public void test() {
        TestProtocolInfo protocolInfo = new TestProtocolInfo();
        Assert.assertTrue(protocolInfo.isLengthFixed());
        Assert.assertEquals(protocolInfo.getNetProtocol(), ProtocolInfo.NET_PROTOCOL_TCP);
        Assert.assertEquals(protocolInfo.getCode(), 112);
        Assert.assertEquals(protocolInfo.getName(), "xx");
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/protocol/ProtocolInfoTest.java