@Test
    public void byte2hex() {
        String s = "5";
        try {
            CodecUtils.hex2byte(s);
            Assert.fail();
        } catch (Exception e) {
            Assert.assertTrue(e instanceof IllegalArgumentException);
        }
        s = "567400075b6f626a65";
        byte[] bs = CodecUtils.hex2byte(s);
        Assert.assertTrue(s.equalsIgnoreCase(CodecUtils.byte2hex(bs)));
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/common/src/test/java/com/alipay/sofa/rpc/common/utils/CodecUtilsTest.java