public function testGetSensitiveCookieMetadataEmpty() { $serverVal = $_SERVER; $this->request->setServer(new Parameters(array_merge($_SERVER, ['HTTPS' => 'on']))); $cookieScope = $this->createCookieScope(); $this->assertEquals([SensitiveCookieMetadata::KEY_HTTP_ONLY => true, SensitiveCookieMetadata::KEY_SECURE => true], $cookieScope->getSensitiveCookieMetadata()->__toArray()); $this->request->setServer(new Parameters($serverVal)); }