### Question:
BesuCommand implements DefaultCommandValues, Runnable { private boolean isPruningEnabled() { return pruningEnabled; } BesuCommand(
      final Logger logger,
      final Supplier<RlpBlockImporter> rlpBlockImporter,
      final Function<BesuController, JsonBlockImporter> jsonBlockImporterFactory,
      final Function<Blockchain, RlpBlockExporter> rlpBlockExporterFactory,
      final RunnerBuilder runnerBuilder,
      final BesuController.Builder controllerBuilderFactory,
      final BesuPluginContextImpl besuPluginContext,
      final Map<String, String> environment); @VisibleForTesting protected  BesuCommand(
      final Logger logger,
      final Supplier<RlpBlockImporter> rlpBlockImporter,
      final Function<BesuController, JsonBlockImporter> jsonBlockImporterFactory,
      final Function<Blockchain, RlpBlockExporter> rlpBlockExporterFactory,
      final RunnerBuilder runnerBuilder,
      final BesuController.Builder controllerBuilderFactory,
      final BesuPluginContextImpl besuPluginContext,
      final Map<String, String> environment,
      final StorageServiceImpl storageService,
      final SecurityModuleServiceImpl securityModuleService); void parse(
      final AbstractParseResultHandler<List<Object>> resultHandler,
      final BesuExceptionHandler exceptionHandler,
      final InputStream in,
      final String... args); @Override void run(); void configureLogging(final boolean announce); static Optional<Boolean> getColorEnabled(); BesuController buildController(); BesuControllerBuilder getControllerBuilder(); MetricsConfiguration metricsConfiguration(); Path dataDir(); MetricsSystem getMetricsSystem(); BesuExceptionHandler exceptionHandler(); EnodeDnsConfiguration getEnodeDnsConfiguration(); @CommandLine.Option(
      names = {"--rpc-http-authentication-jwt-public-key-file"},
      paramLabel = MANDATORY_FILE_FORMAT_HELP,
      description = "JWT key file for JSON-RPC HTTP authentication",
      arity = "1")
  private final File rpcHttpAuthenticationPublicKeyFile; @CommandLine.Option(
      names = {"--rpc-ws-authentication-jwt-public-key-file"},
      paramLabel = MANDATORY_FILE_FORMAT_HELP,
      description = "JWT key file for JSON-RPC WebSocket authentication",
      arity = "1")
  private final File rpcWsAuthenticationPublicKeyFile; @CommandLine.Option(
      names = {"--privacy-public-key-file"},
      description = "The enclave's key file")
  private final File privacyPublicKeyFile; }### Answer:
@Test public void pruningEnabledExplicitly() { parseCommand("--pruning-enabled", "--sync-mode=FULL"); verify(mockControllerBuilder).isPruningEnabled(true); verify(mockControllerBuilder).build(); assertThat(commandOutput.toString()).isEmpty(); assertThat(commandErrorOutput.toString()).isEmpty(); }
@Test public void pruningDisabledByDefault() { parseCommand(); verify(mockControllerBuilder).isPruningEnabled(false); assertThat(commandOutput.toString()).isEmpty(); assertThat(commandErrorOutput.toString()).isEmpty(); }