@Test
public void testEmptyAbsPath() throws Exception {

    for (ByteBuf buffer : getBuffers()) {
        HttpRequestEncoder encoder = new HttpRequestEncoder();
        encoder.encodeInitialLine(buffer, new DefaultHttpRequest(HttpVersion.HTTP_1_1,
                HttpMethod.GET, ""));
        String req = buffer.toString(Charset.forName("US-ASCII"));
        assertEquals("GET / HTTP/1.1\r\n", req);
        buffer.release();
    }
}