### Question:
TransactionValidationParams { public boolean checkLocalPermissions() { return checkLocalPermissions; } 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 checkLocalPermissions() { assertThat( new TransactionValidationParams.Builder() .checkLocalPermissions(true) .build() .checkLocalPermissions()) .isTrue(); assertThat( new TransactionValidationParams.Builder() .checkLocalPermissions(false) .build() .checkLocalPermissions()) .isFalse(); }