public void selectsAllTasksWithTheProvidedNameInCurrentProjectAndSubprojects() {
final Task task1 = task("name");
final Task task2 = task("name");
final Task task3 = task("other");
context.checking(new Expectations() {{
one(resolver).selectAll("name", project);
will(returnValue(tasks(task1, task2, task3)));
one(taskExecuter).addTasks(toSet(task1, task2));
}});