public async Task RandomDelay_ValidRequest_ValidDelay() { IRequestAnalyzer randomDelay = new RandomDelay(); var delay = await randomDelay.CalculateMillisecondDelay(new DefaultHttpContext().Request); Assert.IsTrue(delay >= 0); }
public async Task RandomDelay_NullRequest_Exception() { IRequestAnalyzer randomDelay = new RandomDelay(); var delay = await randomDelay.CalculateMillisecondDelay(null); }