function TestClient::setNextResponse

File

core/tests/Drupal/BuildTests/Framework/Tests/DrupalMinkClientTest.php, line 86

Class

TestClient
Special client that can return a given response on the first doRequest().

Namespace

Drupal\BuildTests\Framework\Tests

Code

public function setNextResponse(Response $response) {
    $this->nextResponse = $response;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.