public void it_allows_to_wait_for_all() { _scheduler.Schedule(ImaginaryTask); _scheduler.Schedule(ImaginaryTask2); _scheduler.AwaitAll(); _task1Completed.ShouldBe(true); _task2Completed.ShouldBe(true); }