public function createCookieFromRawSetsHttpOnlyIfPresent() { $cookie = Cookie::createFromRawSetCookieHeader('ckName=someValue; HttpOnly; more=nothing'); $this->assertTrue($cookie->isHttpOnly()); }