matches() matches(mixed $other) : boolean Checks assertion Parameters mixed $other Expected type Returns boolean
__construct() __construct(\Cake\Http\Response $response) Constructor Parameters \Cake\Http\Response $response Response
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.