public function ClientTest::testGetScript in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/ClientTest.php \Symfony\Component\HttpKernel\Tests\ClientTest::testGetScript()
File
- vendor/
symfony/ http-kernel/ Tests/ ClientTest.php, line 42
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testGetScript() {
$client = new TestClient(new TestHttpKernel());
$client
->insulate();
$client
->request('GET', '/');
$this
->assertEquals('Request: /', $client
->getResponse()
->getContent(), '->getScript() returns a script that uses the request handler to make the request');
}