@Test(expected = Http2Exception.class)
public void testLiteralHuffmanEncodedWithDecodingEOSThrows() throws Http2Exception {

    byte[] input = {0, (byte) 0x84, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF};
    ByteBuf in = Unpooled.wrappedBuffer(input);
    try {
        hpackDecoder.decode(0, in, mockHeaders);
    } finally {
        in.release();
    }
}