isInternalServerError function

Matcher isInternalServerError()

Matches an HTTP response with status code 500 (Internal Server Error).

This corresponds to Arcade's InternalServerErrorException.

Example:

expect(response, isInternalServerError());

Implementation

Matcher isInternalServerError() => hasStatus(500);