public class NettyHttpRequestTest {
@Test
public void decodesQueryParams() {
HttpRequest httpRequest = new DefaultHttpRequest(HttpVersion.HTTP_1_0, HttpMethod.GET, "http://example.com/?foo=bar");
NettyHttpRequest nhr = new NettyHttpRequest(null, httpRequest, null, 0L);
assertEquals(nhr.queryParam("foo"), "bar");
}