isCreated function

Matcher isCreated()

Matches an HTTP response with status code 201 (Created).

Example:

expect(response, isCreated());

Implementation

Matcher isCreated() => hasStatus(201);