/** * @test */ public function isSecureReturnsSecureFlag() { $cookie = new Cookie('foo', 'bar'); $this->assertFalse($cookie->isSecure()); $cookie = new Cookie('foo', 'bar', 0, NULL, 'typo3.org', '/', TRUE); $this->assertTrue($cookie->isSecure()); }