public function createCookieFromRawParsesExpiryDateCorrectly() { $cookie = Cookie::createFromRawSetCookieHeader('ckName=someValue; Expires=Sun, 16-Oct-2022 17:53:36 GMT'); $this->assertSame(1665942816, $cookie->getExpires()); }