public void Should_Build_Get() { var parsed = Parser.ParseRawRequest(FakeRawRequests.GetWithoutQueryString); var req = HttpWebRequestBuilder.InitializeWebRequest(parsed); Assert.AreEqual("System.Net.HttpWebRequest", req.GetType().ToString()); }
public IHttpWebRequest BuildRequest(ParsedHttpRequest parsed) { var request = HttpWebRequestBuilder.InitializeWebRequest(parsed); return(new HttpWebRequestWrapper(request)); }