### Question:
TransactionValidationParams { public boolean isAllowFutureNonce() { return allowFutureNonce; } private  TransactionValidationParams(
      final boolean allowFutureNonce,
      final boolean checkOnchainPermissions,
      final boolean checkLocalPermissions); boolean isAllowFutureNonce(); boolean checkOnchainPermissions(); boolean checkLocalPermissions(); static TransactionValidationParams transactionSimulator(); static TransactionValidationParams processingBlock(); static TransactionValidationParams transactionPool(); static TransactionValidationParams mining(); static TransactionValidationParams blockReplay();  }### Answer:
@Test public void isAllowFutureNonce() { assertThat( new TransactionValidationParams.Builder() .allowFutureNonce(true) .build() .isAllowFutureNonce()) .isTrue(); assertThat( new TransactionValidationParams.Builder() .allowFutureNonce(false) .build() .isAllowFutureNonce()) .isFalse(); }