public override void StartUp() { TestTasks.Add(() => { }) .Wait(); //throw new Exception("oh dear, the start up failed"); }