public static function hasCookie($key) { return \Illuminate\Http\Request::hasCookie($key); }
public function testHasCookie() { $this->assertThat($this->object->hasCookie('undefined cookie'), $this->equalTo(false)); $this->assertThat($this->object->hasCookie('user'), $this->equalTo(true)); }