assertThat(executedTasks, equalTo(toList(a, b, c, d, e)));
}
@Test
public void testAddTasksAddsDependencies() {
Task a = createTask("a");
Task b = createTask("b", a);
Task c = createTask("c", b, a);
Task d = createTask("d", c);
taskExecuter.addTasks(toList(d));
assertTrue(taskExecuter.hasTask(":a"));
assertTrue(taskExecuter.hasTask(a));
assertTrue(taskExecuter.hasTask(":b"));