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