public void GetPersistentTimeLimiter_with_enumerable_returns_a_TimeLimiter() { var persistent = TimeLimiter.GetPersistentTimeLimiter(1, TimeSpan.FromSeconds(1), _ => { }, new List <DateTime>()); persistent.Should().BeOfType <TimeLimiter>(); }
public void GetPersistentTimeLimiter_returns_a_TimeLimiter() { var persistent = TimeLimiter.GetPersistentTimeLimiter(1, TimeSpan.FromSeconds(1), _ => { }); persistent.Should().BeOfType <TimeLimiter>(); }