Esempio n. 1
0
 public void TestWithoutRetries()
 {
     _retryStrategy.Run(() => { ++_attempts; return(Task.FromResult <Exception>(null)); });
     Assert.AreEqual(1, _attempts);
 }