public function CookieTest::testInvalidExpiration

@expectedException InvalidArgumentException

File

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

Class

CookieTest
CookieTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

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