Example #1
0
 /**
  * Test get referer
  */
 public function testGetReferrerWhenNotExists()
 {
     $env = \Slim\Environment::mock();
     $req = new \Slim\Http\Request($env);
     $this->assertNull($req->getReferrer());
     $this->assertNull($req->getReferer());
 }