@Test
void testHuffmanEncodedZeroPadding() throws Exception {

    HpackDecoder decoder = new HpackDecoder(4096, 8192);
    String encoded = "82868441" + "83" + "495090";
    ByteBuffer buffer = ByteBuffer.wrap(TypeUtils.fromHexString(encoded));
    try {
        decoder.decode(buffer);
        fail();
    } catch (CompressionException ex) {
        assertTrue(ex.getMessage().contains("Incorrect padding"));
    }
}