コード例 #1
0
 public void Then_10_Minute_Delay_Occurs_Once()
 {
     MockThreadingOperations
     .Received()
     .SyncronousDelay(Arg.Is(600000d));
     MockThreadingOperations
     .Received(1)
     .SyncronousDelay(Arg.Any <double>());
 }
 public void Then_No_Delay_Occurs()
 {
     MockThreadingOperations
     .DidNotReceive()
     .SyncronousDelay(Arg.Any <double>());
 }