You are here

public function TestClient::setNextResponse in Drupal 8

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;
}