public function CookieTest::testCookieIsNotCleared in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/CookieTest.php \Symfony\Component\HttpFoundation\Tests\CookieTest::testCookieIsNotCleared()
File
- vendor/
symfony/ http-foundation/ Tests/ CookieTest.php, line 132
Class
- CookieTest
- CookieTest.
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testCookieIsNotCleared() {
$cookie = new Cookie('foo', 'bar', time() + 3600 * 24);
$this
->assertFalse($cookie
->isCleared(), '->isCleared() returns false if the cookie did not expire yet');
}