isUnprocessableEntity function
Matcher
isUnprocessableEntity()
Matches an HTTP response with status code 422 (Unprocessable Entity).
This corresponds to Arcade's UnprocessableEntityException.
Example:
expect(response, isUnprocessableEntity());
Implementation
Matcher isUnprocessableEntity() => hasStatus(422);