matches() matches(integer|array $other) : boolean Check assertion Parameters integer|array $other Array of min/max status codes, or a single code Returns boolean
__construct() __construct(\Cake\Http\Response $response) Constructor Parameters \Cake\Http\Response $response Response
statusCodeBetween() statusCodeBetween(integer $min, integer $max) : boolean Helper for checking status codes Parameters integer $min Min status code (inclusive) integer $max Max status code (inclusive) Returns boolean
failureDescription() failureDescription(mixed $other) : string Overwrites the descriptions so we can remove the automatic "expected" message Parameters mixed $other Value Returns string
_getBodyAsString() _getBodyAsString() : string Get the response body as string Returns string — The response body.