public void Delayer_Should_Delay_With_The_Given_Time(int seconds) { var affector = new Delayer(TimeSpan.FromSeconds(seconds)); var t = new ExecutionTimer(); t.Aggregate(() => affector.Affect()); Assert.InRange(t.Total, seconds - 1, seconds + 1); }