public function RequestTest::testToString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testToString()
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 1401
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testToString() {
$request = new Request();
$request->headers
->set('Accept-language', 'zh, en-us; q=0.8, en; q=0.6');
$this
->assertContains('Accept-Language: zh, en-us; q=0.8, en; q=0.6', $request
->__toString());
}