public function ResponseTest::testGetHeaders in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/browser-kit/Tests/ResponseTest.php \Symfony\Component\BrowserKit\Tests\ResponseTest::testGetHeaders()
File
- vendor/
symfony/ browser-kit/ Tests/ ResponseTest.php, line 30
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testGetHeaders() {
$response = new Response('foo', 200, array(
'foo' => 'bar',
));
$this
->assertEquals(array(
'foo' => 'bar',
), $response
->getHeaders(), '->getHeaders() returns the headers of the response');
}