public static List<String> generateProgressDisplay(
      double progress, List<String> unfinishedLeafTasks) {
    List<String> lines = new ArrayList<>();

    lines.add(HEADER);
    lines.add(generateProgressBar(progress));
    for (String task : unfinishedLeafTasks) {
      lines.add("> " + task);
    }

    return lines;
  }
@Test
  public void testGenerateProgressDisplay_progressBar_100() {
    Assert.assertEquals(
        Arrays.asList("Executing tasks:", getBar("[==============================]", 100.0)),
        ProgressDisplayGenerator.generateProgressDisplay(1, Collections.emptyList()));
  }