@Test
public void testApacheLogDecoder() {

    // Decoding a value
    assertEquals("bla bla bla", Utils.decodeApacheHTTPDLogValue("bla bla bla"));
    assertEquals("bla bla bla", Utils.decodeApacheHTTPDLogValue("bla\\x20bla bla"));
    assertEquals("bla\bbla\nbla\tbla", Utils.decodeApacheHTTPDLogValue("bla\\bbla\\nbla\\tbla"));
    assertEquals("bla\"bla\nbla\tbla", Utils.decodeApacheHTTPDLogValue("bla\\\"bla\\nbla\\tbla"));
    assertEquals(new String(new byte[] {(byte)0x0b}), Utils.decodeApacheHTTPDLogValue("\\v"));
    // Specials
    assertEquals("\\q", Utils.decodeApacheHTTPDLogValue("\\q"));
    assertEquals("", Utils.decodeApacheHTTPDLogValue(""));
    assertEquals(null, Utils.decodeApacheHTTPDLogValue(null));
}