public function testQueryStringWithArrayValues() { $expected = "?param%5B0%5D=value1¶m%5B1%5D=value2"; $result = $this->request->queryString(array('param' => array('value1', 'value2'))); $this->assertEqual($expected, $result); }