function testIsSecure() { $req = new Request(); $req->mock(array("HTTPS" => "on")); $this->assertTrue($req->isSecure()); }