You are here

public function CookieTest::testGetName in Zircon Profile 8

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

File

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

Class

CookieTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testGetName() {
  $cookie = new Cookie('foo', 'bar');
  $this
    ->assertEquals('foo', $cookie
    ->getName(), '->getName() returns the cookie name');
}