PlainCliOutput implements CliOutput { @Override public void printBackfills(List<BackfillPayload> backfills, boolean ignored) { backfills.forEach(backfill -> printBackfillPayload(backfill, true)); }  @Override void printStates(RunStateDataPayload runStateDataPayload); @Override void printEvents(List<EventInfo> eventInfos); @Override void printBackfill(Backfill backfill, boolean ignored); @Override void printBackfillPayload(BackfillPayload backfillPayload, boolean ignored); @Override void printBackfills(List<BackfillPayload> backfills, boolean ignored); @Override void printResources(List<Resource> resources); @Override void printMessage(String message); @Override void printWorkflow(Workflow wf, WorkflowState state); @Override void printWorkflows(List<Workflow> workflows); @Override void printError(String message);  }
@Test public void shouldPrintBackfills() { cliOutput.printBackfills(List.of(BackfillPayload.create(BACKFILL, Optional.empty())), true); assertEquals(EXPECTED_OUTPUT, outContent.toString()); }