public function CookieTest::testGetExpiresTime

File

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

Class

CookieTest
CookieTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetExpiresTime() {
  $cookie = new Cookie('foo', 'bar', 3600);
  $this
    ->assertEquals(3600, $cookie
    ->getExpiresTime(), '->getExpiresTime() returns the expire date');
}