public Service(string outputDir) { _comparePersister = PersisterFactory.CreateComparePersisterInstance(outputDir); _scrapePersister = PersisterFactory.CreateScrapePersisterInstance(outputDir); var elementProvider = new ElementProvider(); var webRequestUtil = new WebRequestUtil(); _scrapeBuilder = new ScrapeBuilder(elementProvider, webRequestUtil); }
public void Setup() { _client = new WebRequestUtil(); var res = GetFromResources("QualityBot.Test.Tests.TestData.FakeResources.txt"); _resources = res.Split('\n'); }