public PayPalUrlService(Site currentSite, PayPalExpressCheckoutSettings payPalExpressCheckoutSettings, SiteSettings siteSettings, IUniquePageService uniquePageService) { _currentSite = currentSite; _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings; _siteSettings = siteSettings; _uniquePageService = uniquePageService; }
public ProductServiceTests() { _documentService = A.Fake<IDocumentService>(); _siteSettings = new SiteSettings() { DefaultPageSize = 10 }; _uniquePageService = A.Fake<IUniquePageService>(); _productService = new ProductService(Session, _documentService, _siteSettings, _uniquePageService); }
public AddToCartUIService(ICartValidationService cartValidationService, ICartItemManager cartItemManager, IUniquePageService uniquePageService) { _cartValidationService = cartValidationService; _cartItemManager = cartItemManager; _uniquePageService = uniquePageService; }
public CommentingUserAccountController(IUniqueUsernameService uniqueUsernameService, IUniquePageService uniquePageService, ICommentInfoUiService commentInfoUiService, IStringResourceProvider stringResourceProvider) { _uniqueUsernameService = uniqueUsernameService; _uniquePageService = uniquePageService; _commentInfoUiService = commentInfoUiService; _stringResourceProvider = stringResourceProvider; }
public ProductService(ISession session, IDocumentService documentService, SiteSettings ecommerceSettings, IUniquePageService uniquePageService) { _session = session; _documentService = documentService; _ecommerceSettings = ecommerceSettings; _uniquePageService = uniquePageService; }
public GetUserAccountLinks(IUniquePageService uniquePageService, EcommerceSettings ecommerceSettings, ProductReviewSettings productReviewSettings) { _uniquePageService = uniquePageService; _ecommerceSettings = ecommerceSettings; _productReviewSettings = productReviewSettings; }
public ProductOptionManager(ISession session, IProductSearchIndexService productSearchIndexService, IUniquePageService uniquePageService) { _session = session; _productSearchIndexService = productSearchIndexService; _uniquePageService = uniquePageService; }
public ProductAddedToCartUIService(IUniquePageService uniquePageService, CartModel cart, IRelatedProductsService relatedProductsService, IPeopleWhoBoughtThisService peopleWhoBoughtThisService) { _uniquePageService = uniquePageService; _cart = cart; _relatedProductsService = relatedProductsService; _peopleWhoBoughtThisService = peopleWhoBoughtThisService; }
public SetShippingMethodService(CartModel cart, IShippingMethodUIService shippingMethodUIService, ICartManager cartManager, IUniquePageService uniquePageService) { _cart = cart; _shippingMethodUIService = shippingMethodUIService; _cartManager = cartManager; _uniquePageService = uniquePageService; }
public PaymentNotRequiredUIService(IUniquePageService uniquePageService, CartModel cartModel, IStringResourceProvider stringResourceProvider, IOrderPlacementService orderPlacementService) { _uniquePageService = uniquePageService; _cartModel = cartModel; _stringResourceProvider = stringResourceProvider; _orderPlacementService = orderPlacementService; }
public ImportProducts(IUniquePageService uniquePageService, ISession session, IWebpageUrlService webpageUrlService, IImportProductVariants importProductVariants) { _uniquePageService = uniquePageService; _session = session; _webpageUrlService = webpageUrlService; _importProductVariants = importProductVariants; }
public PayPalUrlServiceTests() { _currentSite = new Site {BaseUrl = "www.example.com"}; _payPalExpressCheckoutSettings = new PayPalExpressCheckoutSettings(); _siteSettings = new SiteSettings(); _uniquePageService = A.Fake<IUniquePageService>(); _payPalUrlService = new PayPalUrlService(_currentSite, _payPalExpressCheckoutSettings, _siteSettings, _uniquePageService); }
public SetShippingAddressService(IUniquePageService uniquePageService, ICartManager cartManager, CartModel cart, IGetCountryOptions getCountryOptions, IGetExistingAddressOptions getExistingAddressOptions) { _uniquePageService = uniquePageService; _cartManager = cartManager; _cart = cart; _getCountryOptions = getCountryOptions; _getExistingAddressOptions = getExistingAddressOptions; }
public ImportProductsService Build() { _uniquePageService = A.Fake<IUniquePageService>(); var importProductsService = new ImportProductsService(_documentService, _importProductSpecificationsService, _importProductVariantsService, _importProductImagesService, _importUrlHistoryService, _session, _uniquePageService, _createBatch, _getNewBrandPage); return importProductsService; }
public LoginControllerTests() { _userService = A.Fake<IUserService>(); _resetPasswordService = A.Fake<IResetPasswordService>(); _authorisationService = A.Fake<IAuthorisationService>(); _loginService = A.Fake<ILoginService>(); _uniquePageService = A.Fake<IUniquePageService>(); _loginController = new LoginController(_userService, _resetPasswordService, _authorisationService, _uniquePageService, _loginService, A.Fake<IStringResourceProvider>()); // initial setup as this is reused A.CallTo(() => _uniquePageService.RedirectTo<LoginPage>(null)).Returns(new RedirectResult("~/login-page")); A.CallTo(() => _uniquePageService.RedirectTo<ForgottenPasswordPage>(null)) .Returns(new RedirectResult("~/forgotten-password")); }
public OldImportProductsServiceTests() { _documentService = A.Fake<IDocumentService>(); _importSpecificationsService = A.Fake<IImportProductSpecificationsService>(); _importProductVariantsService = A.Fake<IImportProductVariantsService>(); _importProductImagesService = A.Fake<IImportProductImagesService>(); _importProductUrlHistoryService = A.Fake<IImportProductUrlHistoryService>(); _uniquePageService = A.Fake<IUniquePageService>(); _createBatch = A.Fake<ICreateBatch>(); _importProductsService = new ImportProductsService(_documentService, _importSpecificationsService, _importProductVariantsService, _importProductImagesService, _importProductUrlHistoryService, Session, _uniquePageService, _createBatch, _getNewBrandPage); }
public ImportProductsService(IDocumentService documentService, IImportProductSpecificationsService importSpecificationsService, IImportProductVariantsService importProductVariantsService, IImportProductImagesService importProductImagesService, IImportProductUrlHistoryService importUrlHistoryService, ISession session, IUniquePageService uniquePageService, ICreateBatch createBatch, IGetNewBrandPage getNewBrandPage) { _documentService = documentService; _importSpecificationsService = importSpecificationsService; _importProductVariantsService = importProductVariantsService; _importProductImagesService = importProductImagesService; _importUrlHistoryService = importUrlHistoryService; _session = session; _uniquePageService = uniquePageService; _createBatch = createBatch; _getNewBrandPage = getNewBrandPage; }
public ProductControllerTests() { _documentService = A.Fake<IDocumentService>(); _productService = A.Fake<IProductService>(); _categoryService = A.Fake<ICategoryService>(); _productOptionManager = A.Fake<IProductOptionManager>(); _fileService = A.Fake<IFileAdminService>(); _productOptionManagementService = A.Fake<IProductOptionManagementService>(); _siteSettings = new SiteSettings {DefaultPageSize = 10}; _uniquePageService = A.Fake<IUniquePageService>(); _productSearch = new ProductSearch(); _eTagAdminService = A.Fake<IETagAdminService>(); A.CallTo(() => _uniquePageService.GetUniquePage<ProductSearch>()).Returns(_productSearch); _productController = new ProductController(_productService, _documentService, _categoryService, _productOptionManager, _fileService, _productOptionManagementService, _siteSettings, _uniquePageService, _eTagAdminService); }
public ProductContainerControllerTests() { _uniquePageService = A.Fake<IUniquePageService>(); _controller = new ProductContainerController(_uniquePageService) {RequestMock = A.Fake<HttpRequestBase>()}; }
public ContactUsController(IUniquePageService uniquePageService) { _uniquePageService = uniquePageService; }
public SetShippingDetailsUIService(CartModel cart, IUniquePageService uniquePageService) { _cart = cart; _uniquePageService = uniquePageService; }
public BrandAdminService(IUniquePageService uniquePageService, ISession session, IGetNewBrandPage getNewBrandPage) { _uniquePageService = uniquePageService; _session = session; _getNewBrandPage = getNewBrandPage; }
public GetNewBrandPage(IUniquePageService uniquePageService, IWebpageUrlService webpageUrlService) { _uniquePageService = uniquePageService; _webpageUrlService = webpageUrlService; }
public CategoryService(ISession session, IProductSearchIndexService productSearchIndexService, IUniquePageService uniquePageService) { _session = session; _productSearchIndexService = productSearchIndexService; _uniquePageService = uniquePageService; }
public UserTokenProvider(IUniquePageService uniquePageService) { _uniquePageService = uniquePageService; _tokens = GetTokens(); }
public GetUserLinks(IUniquePageService uniquePageService, IStringResourceProvider stringResourceProvider) { _uniquePageService = uniquePageService; _stringResourceProvider = stringResourceProvider; }
public PlanPageController(IPlanService planService, IUniquePageService uniquepageService, IPageMessageSvc pageMessageSvc) { _planService = planService; _uniquePageService = uniquepageService; _pageMessageSvc = pageMessageSvc; }
public CategoryAdminService(ISession session, IUniquePageService uniquePageService) { _session = session; _uniquePageService = uniquePageService; }
public CashOnDeliveryUIService(CartModel cart, IUniquePageService uniquePageService, IOrderPlacementService orderPlacementService) { _cart = cart; _uniquePageService = uniquePageService; _orderPlacementService = orderPlacementService; }
public ImportCategories(IUniquePageService uniquePageService, ISession session, IWebpageUrlService webpageUrlService) { _uniquePageService = uniquePageService; _session = session; _webpageUrlService = webpageUrlService; }
public SetShippingDateService(ICartSessionManager cartSessionManager,IGetUserGuid getUserGuid,IUniquePageService uniquePageService) { _cartSessionManager = cartSessionManager; _getUserGuid = getUserGuid; _uniquePageService = uniquePageService; }
public GetCategoriesOnlyNavModel(ISession session, IUniquePageService uniquePageService) { _session = session; _uniquePageService = uniquePageService; }