/** * Test get referrer with empty in session. */ public function testGetReferrerEmpty() { $this->session->expects($this->any())->method('get')->will($this->returnValue(false)); $this->assertEquals(false, $this->referrerProvider->getReferrer()); }
/** * Return the referrer * * @return string Referrer name */ public function getReferrer() { return $this->referrerProvider->getReferrer(); }