@Test
    public void toShortString() throws Exception {
        SofaRpcException exception = new SofaRpcException(RpcErrorType.SERVER_BUSY, "111");
        String string = ExceptionUtils.toShortString(exception, 1);
        Assert.assertNotNull(string);
        Pattern pattern = Pattern.compile("at");
        Matcher matcher = pattern.matcher(string);
        int count = 0;
        while (matcher.find()) {
            count++;
        }
        Assert.assertTrue(count == 1);
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/common/src/test/java/com/alipay/sofa/rpc/common/utils/ExceptionUtilsTest.java