You are here

public function CookieTest::testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/CookieTest.php \Symfony\Component\HttpFoundation\Tests\CookieTest::testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters()

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

File

vendor/symfony/http-foundation/Tests/CookieTest.php, line 56

Class

CookieTest
CookieTest.

Namespace

Symfony\Component\HttpFoundation\Tests

Code

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