<BUG>UnmarshalState result = parser.prepareToUnmarshal(maxHeaderSize, maxHeaderTableSize);result = parser.unmarshal(result, combined, maxFrameSize);Assert.assertEquals(result.getParsedFrames().size(), 9); // there should be 8 data frames and one header frame</BUG><CONTEXT>DataWrapper combined = dataGen.chainDataWrappers(UtilsForTest2.dataWrapperFromHex(aBunchOfDataFrames),dataGen.chainDataWrappers(serializedHeaderFrames,UtilsForTest2.dataWrapperFromHex(aBunchOfDataFrames)));<extra_id_0>Http2Msg headerFrame = result.getParsedFrames().get(4);</CONTEXT>
UnmarshalState result = parser.prepareToUnmarshal(maxHeaderSize, maxHeaderTableSize, maxFrameSize);result = parser.unmarshal(result, combined);Assert.assertEquals(result.getParsedFrames().size(), 9); // there should be 8 data frames and one header frame