public override IHttpWebRequest CreateHttp(string url) { var request = new DummyHttpWebRequest(this, url); _requests.Add(request); return(request); }
public DummyHttpWebResponse GetResponse(DummyHttpWebRequest request) { var index = _requests.IndexOf(request); return(_responses[index]); }