public static <T> RestResult<T> failed() {
        return RestResult.<T>builder().withCode(500).build();
    }
@Test
    void testFailedWithCode() {
        RestResult<String> restResult = RestResultUtils.failed(400, "content");
        assertRestResult(restResult, 400, null, "content", false);
    }