public function CookieTest::testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters

@dataProvider invalidNames @expectedException InvalidArgumentException @covers Symfony\Component\HttpFoundation\Cookie::__construct

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/CookieTest.php, line 44

Class

CookieTest
CookieTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters($name) {
  new Cookie($name);
}