@Test
void testStaticHuffmanValues() throws Exception {

    HpackContext ctx = new HpackContext(4096);
    for (int i = 2; i <= 14; i++) {
        Entry entry = ctx.get(i);
        assertTrue(entry.isStatic());
        ByteBuffer buffer = ByteBuffer.wrap(entry.getStaticHuffmanValue());
        int huff = 0xff & buffer.get();
        assertEquals(0x80, (0x80 & huff));
        int len = NBitInteger.decode(buffer, 7);
        assertEquals(len, buffer.remaining());
        String value = Huffman.decode(buffer);
        assertEquals(entry.getHttpField().getValue(), value);
    }
}