- @ValueSource(ints = { 400, 401, 403, 405, 406, 409, 410, 415, 422, 429, 500, 501, 502, 503, 504 })
- void testOtherError(int status)
+ @EnumSource(value = HttpStatus.class, names = {
+ "BAD_REQUEST",
+ "UNAUTHORIZED",
+ "FORBIDDEN",
+ "METHOD_NOT_ALLOWED",
+ "NOT_ACCEPTABLE",
+ "CONFLICT",
+ "GONE",
+ "UNSUPPORTED_MEDIA_TYPE",
+ "TOO_MANY_REQUESTS",
+ "UNPROCESSABLE_ENTITY",
+ "INTERNAL_SERVER_ERROR",
+ "NOT_IMPLEMENTED",
+ "BAD_GATEWAY",
+ "SERVICE_UNAVAILABLE",
+ "GATEWAY_TIMEOUT"
+ })
+ void testOtherError(HttpStatus status)