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);
 }
Пример #2
0
 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);
 }
Пример #3
0
 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;
 }
Пример #4
0
 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 ImportProductsService(IGetDocumentByUrl <MediaCategory> getByUrl,
                              IMediaCategoryAdminService mediaCategoryAdminService,
                              IImportProductSpecificationsService importSpecificationsService,
                              IImportProductVariantsService importProductVariantsService,
                              IImportProductImagesService importProductImagesService,
                              IImportProductUrlHistoryService importUrlHistoryService, ISession session,
                              IUniquePageService uniquePageService, ICreateBatch createBatch, IGetNewBrandPage getNewBrandPage)
 {
     _getByUrl = getByUrl;
     _mediaCategoryAdminService    = mediaCategoryAdminService;
     _importSpecificationsService  = importSpecificationsService;
     _importProductVariantsService = importProductVariantsService;
     _importProductImagesService   = importProductImagesService;
     _importUrlHistoryService      = importUrlHistoryService;
     _session           = session;
     _uniquePageService = uniquePageService;
     _createBatch       = createBatch;
     _getNewBrandPage   = getNewBrandPage;
 }