Example #1
0
 /**
  * Ensure the issetCookie() method returns a boolean in any possible scenario
  */
 public function testIssetCookie()
 {
     // Will return true if the value is set
     $this->assertTrue($this->request->issetCookie('PHPSESSID'));
     // Will return false if the value is not set
     $this->assertFalse($this->request->issetCookie('nonexistent_cookie'));
 }