public void SetUp() { this.retailerDemList1 = new RetailerDemListModel(); this.retailerDemList2 = new RetailerDemListModel(); this.DemStockService.GetRetailerDemListModelsByLastReviewed() .Returns(new SuccessResult <IEnumerable <RetailerDemListModel> >(new[] { this.retailerDemList1, this.retailerDemList2 })); this.Response = this.Browser.Get( "/retailers/dem-stock/last-reviewed/export", with => { }).Result; }
public void SetUp() { this.productUri = "/root-products/808"; this.retailerDemList1 = new RetailerDemListModel(); this.retailerDemList2 = new RetailerDemListModel(); this.DemStockService.GetRetailerDemListModelsWithoutProduct(this.productUri) .Returns(new SuccessResult <IEnumerable <RetailerDemListModel> >(new[] { this.retailerDemList1, this.retailerDemList2 })); this.Response = this.Browser.Get( "/retailers/dem-stock/lists-without-product/export", with => { with.Query("productUri", this.productUri); }).Result; }