You are here

public function CookieJarTest::testUpdateFromEmptySetCookie in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Tests/CookieJarTest.php \Symfony\Component\BrowserKit\Tests\CookieJarTest::testUpdateFromEmptySetCookie()

File

vendor/symfony/browser-kit/Tests/CookieJarTest.php, line 85

Class

CookieJarTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testUpdateFromEmptySetCookie() {
  $cookieJar = new CookieJar();
  $cookieJar
    ->updateFromSetCookie(array(
    '',
  ));
  $this
    ->assertEquals(array(), $cookieJar
    ->all());
}