@Test(expected = SpdyProtocolException.class)
public void testHeaderBlockInvalidDictionary() throws Exception {

    ByteBuf headerBlock = Unpooled.buffer(7);
    headerBlock.writeByte(0x78);
    headerBlock.writeByte(0x3f);
    headerBlock.writeByte(0x01); // Unknown dictionary
    headerBlock.writeByte(0x02); // Unknown dictionary
    headerBlock.writeByte(0x03); // Unknown dictionary
    headerBlock.writeByte(0x04); // Unknown dictionary
    headerBlock.writeByte(0); // Non-compressed block
    decoder.decode(ByteBufAllocator.DEFAULT, headerBlock, frame);
    headerBlock.release();
}