public HttpStatusCodeFetcher(IRESTClientFactory restClientFactory, IRESTRequestFactory requestFactory, IUrlComponentExtractor urlComponentExtractor) { if (restClientFactory == null) { throw new ArgumentNullException("restClientFactory"); } if (requestFactory == null) { throw new ArgumentNullException("requestFactory"); } if (urlComponentExtractor == null) { throw new ArgumentNullException("urlComponentExtractor"); } this.restClientFactory = restClientFactory; this.requestFactory = requestFactory; this.urlComponentExtractor = urlComponentExtractor; }