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