isUnauthorized top-level property

_ExactStatusCodeMatcher isUnauthorized
getter/setter pair

Check status code is 401.

Server has not take any authorization

Implementation

_ExactStatusCodeMatcher isUnauthorized = statusCodeIs(401);