@Test
@Parameters({

    "y",
    " y",
    "y ",
    " y ",
})
public void testWorkflowDeleteInteractiveYes(String reply) {
  final String component = "quux";
  when(cliContext.hasConsole()).thenReturn(true);
  when(cliContext.consoleReadLine(any())).thenReturn(reply);
  when(client.deleteWorkflow(any(), any())).thenReturn(CompletableFuture.completedFuture(null));
  CliMain.run(cliContext, "workflow", "delete", component, "foo", "bar");
  verify(cliContext).consoleReadLine(
      "Sure you want to delete the workflows foo, bar in component quux? [y/N] ");
  verify(client).deleteWorkflow(component, "foo");
  verify(client).deleteWorkflow(component, "bar");
  verify(cliOutput).printMessage("Workflow foo in component " + component + " deleted.");
  verify(cliOutput).printMessage("Workflow bar in component " + component + " deleted.");
}