Example #1
0
 public ProductServiceTests()
 {
     _documentService = A.Fake<IDocumentService>();
     _siteSettings = new SiteSettings() { DefaultPageSize = 10 };
     _uniquePageService = A.Fake<IUniquePageService>();
     _productService = new ProductService(Session, _documentService, _siteSettings, _uniquePageService);
 }
        public ProductOrCategoryDeletedTest()
        {
            _documentService = new DocumentService(Session, CurrentSite);
            _productService = new ProductService(Session, _documentService, new SiteSettings(), null);

        }