Exemple #1
0
 public function test_is_secure()
 {
     $request = new HttpRequest();
     $this->assertFalse($request->isSecure());
     $request->setProtocol(HttpProtocol::HTTPS);
     $this->assertTrue($request->isSecure());
 }