function MockClient::setExpectedResponse
File
-
core/
tests/ Drupal/ Tests/ Core/ Test/ WebAssertTest.php, line 455
Class
- MockClient
- A mock client.
Namespace
Drupal\Tests\Core\TestCode
public function setExpectedResponse(Response $response) : void {
$this->response = $response;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.