You are here

public function CookieTest::testInvalidExpiration in Zircon Profile 8.0

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

@expectedException \InvalidArgumentException

File

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

Class

CookieTest
CookieTest.

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testInvalidExpiration() {
  $cookie = new Cookie('MyCookie', 'foo', 'bar');
}