function MockClient::setExpectedResponse
Same name in other branches
- 11.x core/tests/Drupal/Tests/Core/Test/WebAssertTest.php \Drupal\Tests\Core\Test\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.