isUnauthorized top-level property

Matcher isUnauthorized

Asserts if the response is a HttpStatus.unauthorized.

Implementation

Matcher get isUnauthorized => hasStatus(HttpStatus.unauthorized);