### Question:
EIP1559 { public long legacyGasPool(final long blockNumber, final long gasLimit) { guardActivation(); return gasLimit - (eip1559GasPool(blockNumber, gasLimit) / 2); } EIP1559(final long forkBlockNumber); long computeBaseFee(
      final long parentBaseFee, final long parentBlockGasUsed, final long targetGasUsed); boolean isValidBaseFee(final long parentBaseFee, final long baseFee); long eip1559GasPool(final long blockNumber, final long gasLimit); long legacyGasPool(final long blockNumber, final long gasLimit); boolean isEIP1559(final long blockNumber); boolean isEIP1559Finalized(final long blockNumber); boolean isForkBlock(final long blockNumber); long getForkBlock(); boolean isValidFormat(
      final Transaction transaction, final AcceptedTransactionTypes acceptedTransactionTypes); boolean isValidTransaction(final long blockNumber, final Transaction transaction); long targetGasUsed(final BlockHeader header); static long targetGasUsed(
      final long blockNumber,
      final long migrationDuration,
      final long gasTarget,
      final long forkBlock);  }### Answer:
@Test public void legacyGasPool() { assertThat(eip1559.legacyGasPool(FORK_BLOCK + 1, MAX_GAS)).isEqualTo(9999988L); assertThat( eip1559.eip1559GasPool(FORK_BLOCK + 1, MAX_GAS) + eip1559.legacyGasPool(FORK_BLOCK + 1, MAX_GAS)) .isEqualTo(9999988L + (MAX_GAS - 9999988L) * 2); }