CliMain { private void backfillHalt() throws ExecutionException, InterruptedException { var id = namespace.getString(parser.backfillHaltId.getDest()); var graceful = namespace.getBoolean(parser.backfillHaltGraceful.getDest()); styxClient.backfillHalt(id, graceful).toCompletableFuture().get(); cliOutput.printMessage("Backfill halted! Use `styx backfill show " + id + "` to check the backfill status."); } private  CliMain(
      StyxCliParser parser,
      Namespace namespace,
      String apiHost,
      CliOutput cliOutput,
      CliContext cliContext,
      boolean debug); static void main(String... args);  }
@Test public void testBackfillHalt() { var backfillId = "backfill-2"; when(client.backfillHalt(backfillId, false)) .thenReturn(CompletableFuture.completedFuture(null)); CliMain.run(cliContext, "backfill", "halt", backfillId); verify(client).backfillHalt(backfillId, false); }