@Test
public void testRLFormatting() throws Exception {

    final RequestLine requestline = new RequestLine(Method.GET.name(), "/stuff", HttpVersion.HTTP_1_1);
    final CharArrayBuffer buf = new CharArrayBuffer(64);
    this.formatter.formatRequestLine(buf, requestline);
    Assert.assertEquals("GET /stuff HTTP/1.1", buf.toString());
}