@Test
public void testGodHttp11RequestWithQuery8() throws Exception {
RequestHandler rh = new RequestHandler();
IServer server = new HttpServer(rh);
server.start();
HttpClient httpClient = new HttpClient();
MultivalueMap entity = new MultivalueMap("UTF-8", new NameValuePair("param1", ""), new NameValuePair("param2", " 2 "), new NameValuePair("param1", "3 "));
IHttpResponse response = httpClient.call(new GetRequest("http://localhost:" + server.getLocalPort() + "/test/?" + entity.toString()));
Assert.assertEquals(200, response.getStatus());
List<String> params = Arrays.asList(rh.getRequest().getParameterValues("param1"));
Assert.assertTrue(params.contains(""));
Assert.assertTrue(params.contains("3 "));
Assert.assertEquals(" 2 ", rh.getRequest().getParameter("param2"));
httpClient.close();
server.close();
}