@Test
  public void decodingOfKnownRawHexStringMatchesKnowExtraDataObject() {

    final BftExtraData expectedExtraData = DECODED_EXTRA_DATA_FOR_RAW_HEX_ENCODING_STRING;

    Bytes rawDecoding = Bytes.fromHexString(RAW_HEX_ENCODING_STRING);
    BftExtraData actualExtraData = bftExtraDataEncoder.decodeRaw(rawDecoding);

    assertThat(actualExtraData).isEqualToComparingFieldByField(expectedExtraData);
  }
This test specifically verifies that {@link IbftExtraDataCodec#decode(BlockHeader)} uses {@link
RLPInput#readInt()} rather than {@link RLPInput#readIntScalar()} to decode the round number
consensus/ibft/src/test/java/org/hyperledger/besu/consensus/ibft/IbftExtraDataRLPEncoderTest.java