public void GivenAFeefoClientWithAFakeClientHandler() { var baseUri = "http://example.kevsoft.net/feefo.jsp"; var feefoSettings = new FeefoSettings(new Uri(baseUri), "www.examplesupplier.com"); _httpMessageHandler = new StubHttpMessageHandler( new Uri(baseUri), new ResourceHelper().GetStringResource("Feefo.Tests.FeefoRssFeed.json")); _client = new FeefoClient(_httpMessageHandler, Mock.Of<IQueryStringFactory>(), feefoSettings); }
public void GivenAFeefoClientWithAFakeClientHandler() { var baseUri = "http://example.kevsoft.net/feefo.jsp"; var feefoSettings = new FeefoSettings(new Uri(baseUri), "www.examplesupplier.com"); _httpMessageHandler = new StubHttpMessageHandler( new Uri(baseUri), new ResourceHelper().GetStringResource("Feefo.Tests.FeefoRssFeed.json")); _client = new FeefoClient(_httpMessageHandler, Mock.Of <IQueryStringFactory>(), feefoSettings); }