public function toString(): string
{ return 'format is '.
($this->format ?? 'null'
);
} /**
* @param Response $response
*/
protected function matches($response): bool
{ return $this->format ===
$this->request->
getFormat($response->headers->
get('Content-Type'
));
} /**
* @param Response $response
*/
protected function failureDescription($response): string
{ return 'the Response '.
$this->
toString();
} /**
* @param Response $response
*/