public override void InitializeTest() { base.InitializeTest(); var requestParser = new RequestParser(); var requestFactory = new HttpRequestFactory(requestParser.RequestParameters); var clientUrlBuilder = new Omikron.FactFinder.Core.Client.UrlBuilder(requestParser); SimilarRecordsAdapter = new SimilarRecords(requestFactory.GetRequest(), clientUrlBuilder); }
public override void InitializeTest() { base.InitializeTest(); var requestParser = new RequestParser(); var requestFactory = new HttpRequestFactory(requestParser.RequestParameters); var clientUrlBuilder = new Omikron.FactFinder.Core.Client.UrlBuilder(requestParser); RecommendationAdapter = new Recommendation(requestFactory.GetRequest(), clientUrlBuilder); }
public override void InitializeTest() { base.InitializeTest(); var requestParser = new RequestParser(); var requestFactory = new HttpRequestFactory(requestParser.RequestParameters); var clientUrlBuilder = new Omikron.FactFinder.Core.Client.UrlBuilder(requestParser); ProductCampaignAdapter = new ProductCampaign(requestFactory.GetRequest(), clientUrlBuilder); }
public override void InitializeTest() { base.InitializeTest(); var requestParser = new RequestParser(); var requestFactory = new HttpRequestFactory(requestParser.RequestParameters); var clientUrlBuilder = new Omikron.FactFinder.Core.Client.UrlBuilder(requestParser); SearchAdapter = new Search(requestFactory.GetRequest(), clientUrlBuilder); SearchAdapter.SetQuery("bmx"); }
public override void InitializeTest() { base.InitializeTest(); var requestParser = new RequestParser(); var parameters = requestParser.RequestParameters; parameters["query"] = "bmx"; var requestFactory = new HttpRequestFactory(parameters); var clientUrlBuilder = new Omikron.FactFinder.Core.Client.UrlBuilder(requestParser); SuggestAdapter = new Suggest(requestFactory.GetRequest(), clientUrlBuilder); }
public static void MyClassInitialize(TestContext testContext) { log = LogManager.GetLogger(typeof(UrlBuilderTest)); var requestParser = new RequestParser(); UrlBuilder = new UrlBuilder(requestParser); }