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