permissionIsDenied top-level property

_ExactStatusCodeMatcher permissionIsDenied
getter/setter pair

Check status code is 403 (Forbidden Unauthorization Error).

Server take authorization but the client does not have a access for the content.

Implementation

_ExactStatusCodeMatcher permissionIsDenied = statusCodeIs(403);