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