@Test
    public void encode() {
        Assert.assertTrue(StringSerializer.encode("11").length == 2);
        Assert.assertTrue(StringSerializer.encode("").length == 0);
        Assert.assertTrue(StringSerializer.encode(null).length == 0);
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
codec/codec-api/src/test/java/com/alipay/sofa/rpc/codec/common/StringSerializerTest.java