Example #1
0
 public function testNormalizeQuery()
 {
     $this->assertEquals('foo=', Request::normalizeQuery('foo='));
     $this->assertEquals('her=Diana%20Test&him=Chris%20Master', Request::normalizeQuery('him=Chris%20Master&her=Diana+Test'));
     $this->assertEquals('Chris%20Gaertner&Test%20Case', Request::normalizeQuery('Chris%20Gaertner&Test%20Case'));
     $this->assertEquals('', Request::normalizeQuery(''));
 }