@Test public void hasHealthyTasks() { boolean isMissingHealthyTask = environment.isMissingHealthyTask(Collections.singletonList(defaultTask().build())); assertThat(isMissingHealthyTask).isFalse(); }
public boolean isMissingHealthyTask(List<Task> tasks) { return tasks.stream().noneMatch(this::isMatchingTask); }
DaemonEnvironment { public boolean isMissingHealthyTask(List<Task> tasks) { return tasks.stream().noneMatch(this::isMatchingTask); } }
DaemonEnvironment { public boolean isMissingHealthyTask(List<Task> tasks) { return tasks.stream().noneMatch(this::isMatchingTask); }  }
DaemonEnvironment { public boolean isMissingHealthyTask(List<Task> tasks) { return tasks.stream().noneMatch(this::isMatchingTask); }  boolean isMissingHealthyTask(List<Task> tasks); StartTask startTaskFor(ContainerInstance i); StopTask stopTaskFor(final Task task); boolean isTaskStoppable(Task t); boolean isMatchingTask(Task t); }
DaemonEnvironment { public boolean isMissingHealthyTask(List<Task> tasks) { return tasks.stream().noneMatch(this::isMatchingTask); }  boolean isMissingHealthyTask(List<Task> tasks); StartTask startTaskFor(ContainerInstance i); StopTask stopTaskFor(final Task task); boolean isTaskStoppable(Task t); boolean isMatchingTask(Task t);  }