You are here

public function CookieTest::testToFromString in Zircon Profile 8.0

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

@dataProvider getTestsForToFromString

File

vendor/symfony/browser-kit/Tests/CookieTest.php, line 21

Class

CookieTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testToFromString($cookie, $url = null) {
  $this
    ->assertEquals($cookie, (string) Cookie::fromString($cookie, $url));
}