public void Setup() { IOC.UnitTest(); _categoryCatalogUrlService = IOC.CategoryCatalogUrlService.Actual().Resolve(); _cat1 = new MockCategory {UrlName = "cat1"}; _cat2 = new MockCategory {UrlName = "cat2"}; _cat3 = new MockCategory {UrlName = "cat3"}; }
public UrlService(IUrlFormatService urlFormatService, IUrlLocalizationService urlLocalizationService, ICategoryCatalogUrlService categoryCatalogUrlService, IProductUrlService productUrlService, IUwebshopRequestService requestService, ICategoryService categoryService, IProductService productService) { _urlFormatService = urlFormatService; _urlLocalizationService = urlLocalizationService; _categoryCatalogUrlService = categoryCatalogUrlService; _productUrlService = productUrlService; _requestService = requestService; _categoryService = categoryService; _productService = productService; }
public void Setup() { IOC.UnitTest(); _categoryCatalogUrlService = IOC.CategoryCatalogUrlService.Actual().Resolve(); _cat1 = new MockCategory { UrlName = "cat1" }; _cat2 = new MockCategory { UrlName = "cat2" }; _cat3 = new MockCategory { UrlName = "cat3" }; }
public CatalogCategoryPlusProductUrlService(ICategoryCatalogUrlService categoryCatalogUrlService, ILoggingService log) { _categoryCatalogUrlService = categoryCatalogUrlService; _log = log; }