public RetailerUpdatedHandler( ITransactionManager transactionManager, ILog log, IRetailerDemListRepository retailerDemListRepository) { this.transactionManager = transactionManager; this.log = log; this.retailerDemListRepository = retailerDemListRepository; }
public void EstablishContext() { this.TransactionManager = Substitute.For <ITransactionManager>(); this.Log = Substitute.For <ILog>(); this.RetailerDemListRepository = Substitute.For <IRetailerDemListRepository>(); this.Sut = new RetailerUpdatedHandler( this.TransactionManager, this.Log, this.RetailerDemListRepository); }
public InvoiceProcessingService( ILog log, ITransactionManager transactionManager, IRetailerDemListRepository retailerDemListRepository, IRetailerProxy retailerProxy, IProductsProxy productsProxy) { this.log = log; this.transactionManager = transactionManager; this.retailerDemListRepository = retailerDemListRepository; this.retailerProxy = retailerProxy; this.productsProxy = productsProxy; }
public DemStockService( ITransactionManager transactionManager, IRetailerDemListRepository retailerDemListRepository, IRetailerProxy retailerProxy, ISalesRegionProxy salesRegionProxy, IProductsProxy productsProxy) { this.transactionManager = transactionManager; this.retailerDemListRepository = retailerDemListRepository; this.retailerProxy = retailerProxy; this.salesRegionProxy = salesRegionProxy; this.productsProxy = productsProxy; }
public RetailerDemListCreator(IRetailerDemListRepository retailerDemListRepository) { this.retailerDemListRepository = retailerDemListRepository; }
public void SetUpContext() { this.DemListRepository = Substitute.For <IRetailerDemListRepository>(); this.Sut = new RetailerDemListCreator(this.DemListRepository); }