public function RequestTest::testGetCookies in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Tests/RequestTest.php \Symfony\Component\BrowserKit\Tests\RequestTest::testGetCookies()
File
- vendor/
symfony/ browser-kit/ Tests/ RequestTest.php, line 42
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testGetCookies() {
$request = new Request('http://www.example.com/', 'get', array(), array(), array(
'foo' => 'bar',
));
$this
->assertEquals(array(
'foo' => 'bar',
), $request
->getCookies(), '->getCookies() returns the cookies of the request');
}