public function CookieJarTest::testEncodedValues in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Tests/CookieJarTest.php \Symfony\Component\BrowserKit\Tests\CookieJarTest::testEncodedValues()
File
- vendor/
symfony/ browser-kit/ Tests/ CookieJarTest.php, line 145
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testEncodedValues() {
$cookieJar = new CookieJar();
$cookieJar
->set($cookie = new Cookie('foo', 'bar%3Dbaz', null, '/', '', false, true, true));
$this
->assertEquals(array(
'foo' => 'bar=baz',
), $cookieJar
->allValues('/'));
$this
->assertEquals(array(
'foo' => 'bar%3Dbaz',
), $cookieJar
->allRawValues('/'));
}