예제 #1
0
파일: CookieTest.php 프로젝트: nxpthx/FLOW3
 /**
  * @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());
 }