public FipeDownloadServiceTest() { this._logger = new LoggerFactory().CreateLogger(nameof(FipeDownloadServiceTest)); this._httpRequestSettings = new HttpRequestSettings(); this._httpRequest = new HttpRequest(this._logger, this._httpRequestSettings); this._downloadService = new FipeDownloadService(this._logger, this._httpRequest); }
private static void InitDownloadService() { _httpRequestSettings = new HttpRequestSettings(); _httpRequest = new HttpRequest(_logger, _httpRequestSettings); _downloadService = new FipeDownloadService(_logger, _httpRequest); _normalizedDownloadService = new FipeNormalizedDownloadService(_logger, _downloadService); }
public HttpRequest(ILogger logger, IHttpRequestSettings settings) { this._logger = logger; this._settings = settings; }