public function getAllQueryParameters() { return $this->queryParameters; }
public function testQueryParams() { $uri = new Uri('http://localhost/test.php?params=1¶ms=2'); $expected = array('params' => array(1, 2)); $actual = $uri->getAllQueryParameters(); $this->assertEquals($expected, $actual); }