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

    ByteBuf input = Unpooled.buffer();
    try {
        writeContinuationFrame(input, 1, new DefaultHttp2Headers().add("foo", "bar"),
                               new Http2Flags().endOfHeaders(true));
        frameReader.readFrame(ctx, input, listener);
    } finally {
        input.release();
    }
}