Example #1
0
 public async Task Should_unblock_delay()
 {
     var task = Task.Run(async() => {
         while (TimeMachine.UnblockAllDelays() == 0)
         {
             await Task.Delay(10);
         }
     });
     await TimeMachine.Delay(10000000);
 }