public void Three_tasks_where_two_depend_on_one() { definition = Define.It(d => { d.Task("build1", t => build1Executed++, "build2", "build3"); d.Task("build2", t => build2Executed++, "build3"); d.Task("build3", t => build3Executed++); }); definition.ExecuteTasksWithName("build1"); }