public static <T> RestResult<T> failedWithMsg(int code, String errMsg) {
        return RestResult.<T>builder().withCode(code).withMsg(errMsg).build();
    }
@Test
    void testFailedWithMsgMethod() {
        RestResult<String> restResult = RestResultUtils.failedWithMsg(400, "content");
        assertRestResult(restResult, 400, "content", null, false);
    }