isOk function

Matcher isOk()

Matches an HTTP response with status code 200 (OK).

Example:

expect(response, isOk());

Implementation

Matcher isOk() => hasStatus(200);