Example #1
0
 public function testHttpCookieToStringMethodWithBooleanFalseAsValue()
 {
     $cookie = new HttpCookie('testCookie');
     $cookie->setValue(false);
     $this->assertSame($cookie->__toString(), 'testCookie=0; Path=/; HttpOnly');
 }