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

    byte[] compressed = StringUtil.decodeHexDump("FFF0");
    ByteBuf in = Unpooled.wrappedBuffer(compressed);
    try {
        hpackDecoder.decode(0, in, mockHeaders);
        assertEquals(1, in.readableBytes());
        hpackDecoder.decode(0, in, mockHeaders);
    } finally {
        in.release();
    }
}