$this->assertEquals('Request: /',$client->getResponse()->getContent(),'->doRequest() uses the request handler to make the request');
$this->assertEquals('www.example.com',$client->getRequest()->getHost(),'->doRequest() uses the request handler to make the request');
}
publicfunctiontestGetScript()
{
$client=newTestClient(newTestHttpKernel());
$client->insulate();
$client->request('GET','/');
$this->assertEquals('Request: /',$client->getResponse()->getContent(),'->getScript() returns a script that uses the request handler to make the request');