@Test
public void testHttpVersionFormatting() throws Exception {

    final CharArrayBuffer buf = new CharArrayBuffer(64);
    this.formatter.formatProtocolVersion(buf, HttpVersion.HTTP_1_1);
    Assert.assertEquals("HTTP/1.1", buf.toString());
}