private void configureProtocolSpec(
      final BaseFeeMarket feeMarket,
      final GasCalculator gasCalculator,
      final GasLimitCalculator gasLimitCalculator) {
    ProtocolSpec spec = mock(ProtocolSpec.class);
    when(spec.getFeeMarket()).thenReturn(feeMarket);
    when(spec.getGasCalculator()).thenReturn(gasCalculator);
    when(spec.getGasLimitCalculator()).thenReturn(gasLimitCalculator);
    when(protocolSchedule.getForNextBlockHeader(
            blockchain.getChainHeadHeader(), blockchain.getChainHeadHeader().getTimestamp()))
        .thenReturn(spec);
  }
Tests that the method returns zero for forks that do not support blob transactions
ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthBlobBaseFeeTest.java