public IRequestStub WithDelay(TimeSpan timeSpan) { ResponseDelay = ResponseDelay.Add(timeSpan); return(this); }
public IRequestStub WithDelay(int milliseconds) { ResponseDelay = ResponseDelay.Add(TimeSpan.FromMilliseconds(milliseconds)); return(this); }