public function ResponseTest::testToString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/ResponseTest.php \Symfony\Component\HttpFoundation\Tests\ResponseTest::testToString()
File
- vendor/
symfony/ http-foundation/ Tests/ ResponseTest.php, line 28
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testToString() {
$response = new Response();
$response = explode("\r\n", $response);
$this
->assertEquals('HTTP/1.0 200 OK', $response[0]);
$this
->assertEquals('Cache-Control: no-cache', $response[1]);
}