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