@Test
public void shouldPrintWorkflows() {

  final Workflow foo1 = Workflow.create("foo1", WorkflowConfiguration.builder()
      .id("bar1")
      .schedule(Schedule.DAYS)
      .build());
  final Workflow foo2 = Workflow.create("foo2", WorkflowConfiguration.builder()
      .id("bar2")
      .schedule(Schedule.DAYS)
      .build());
  cliOutput.printWorkflows(List.of(foo1, foo2));
  assertThat(outContent.toString(), is(String.format(
      "COMPONENT  WORKFLOW%n"
         + "foo1  bar1%n"
         + "foo2  bar2%n")));
}