Example #1
0
 public function testDetectCookie()
 {
     $this->assertFalse(Session::detectCookie());
     $_COOKIE[session_name()] = 'test';
     $this->assertTrue(Session::detectCookie());
 }