public function ClientTest::testGetRequest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Tests/ClientTest.php \Symfony\Component\BrowserKit\Tests\ClientTest::testGetRequest()
@covers Symfony\Component\BrowserKit\Client::getRequest
File
- vendor/
symfony/ browser-kit/ Tests/ ClientTest.php, line 97
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testGetRequest() {
$client = new TestClient();
$client
->request('GET', 'http://example.com/');
$this
->assertEquals('http://example.com/', $client
->getRequest()
->getUri(), '->getCrawler() returns the Request of the last request');
}