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