/** * Tests the "replaceQueryParam" helper method. */ public function testHttpRequestReplaceQueryParam() { $query_string = NostoHttpRequest::replaceQueryParam('param2', 'replaced_second', 'param1=first¶m2=second'); $this->assertEquals('param1=first¶m2=replaced_second', $query_string); }