/** * @test * @dataProvider queryStringHash_dataprovider * * @param $hash * @param $method * @param $uri */ public function create_WithDifferentMethods_Success($hash, $method, $uri) { $this->assertEquals($hash, Qsh::create($method, $uri)); }
/** * @param string $method * @param string $url * * @return $this */ public function setQueryString($method, $url) { $this->queryStringHash = Qsh::create($method, $url); return $this; }