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'); }