public void Setup() { this.fakeLogger = A.Fake <ILogger <SalesCatalogueService> >(); this.fakeAuthScsTokenProvider = A.Fake <IAuthScsTokenProvider>(); this.fakeSaleCatalogueConfig = Options.Create(new SalesCatalogueConfiguration() { ProductType = "Test", Version = "t1", CatalogueType = "essTest" }); this.fakeSalesCatalogueClient = A.Fake <ISalesCatalogueClient>(); salesCatalogueService = new SalesCatalogueService(fakeSalesCatalogueClient, fakeLogger, fakeAuthScsTokenProvider, fakeSaleCatalogueConfig); }
public ProductDataService(IProductIdentifierValidator productIdentifierValidator, IProductDataProductVersionsValidator productVersionsValidator, IProductDataSinceDateTimeValidator productDataSinceDateTimeValidator, ISalesCatalogueService salesCatalougeService, IMapper mapper, IFileShareService fileShareService, ILogger <FileShareService> logger, IExchangeSetStorageProvider exchangeSetStorageProvider, IOptions <EssFulfilmentStorageConfiguration> essFulfilmentStorageconfig, IMonitorHelper monitorHelper, UserIdentifier userIdentifier, IAzureAdB2CHelper azureAdB2CHelper) { this.productIdentifierValidator = productIdentifierValidator; this.productVersionsValidator = productVersionsValidator; this.productDataSinceDateTimeValidator = productDataSinceDateTimeValidator; this.salesCatalogueService = salesCatalougeService; this.mapper = mapper; this.fileShareService = fileShareService; this.logger = logger; this.exchangeSetStorageProvider = exchangeSetStorageProvider; this.essFulfilmentStorageconfig = essFulfilmentStorageconfig; this.monitorHelper = monitorHelper; this.userIdentifier = userIdentifier; this.azureAdB2CHelper = azureAdB2CHelper; }
public void Setup() { fakeSalesCatalogueService = A.Fake <ISalesCatalogueService>(); fulfilmentSalesCatalogueService = new FulfilmentSalesCatalogueService(fakeSalesCatalogueService); }
public FulfilmentSalesCatalogueService(ISalesCatalogueService salesCatalogueService) { this.salesCatalogueService = salesCatalogueService; }