Verify¶
Verifies that the RestResponse.StatusCode is OK and returns the current instance.
myRestResponse.Verify():RestResponse (RestResponse)
Returns¶
The current RestResponse instance.
Remarks¶
If no status was added with Expect, the default accepted statuses are OK (200) and NoContent (204). Expect replaces this default with the supplied expected status set.