/** * Test get refererer */ public function testGetReferrerWhenNotExists() { $env = Slim_Environment::mock(); $req = new Slim_Http_Request($env); $this->assertNull($req->getReferrer()); $this->assertNull($req->getReferer()); }