public OrdersReportsFacadeService( IManufacturingCommitDateReport manufacturingCommitDateReportService, IOverdueOrdersService overdueOrdersService, IProductionBackOrdersReportService productionBackOrdersReportService) { this.manufacturingCommitDateReportService = manufacturingCommitDateReportService; this.overdueOrdersService = overdueOrdersService; this.productionBackOrdersReportService = productionBackOrdersReportService; }
public void SetUpContext() { this.ManufacturingCommitDateReport = Substitute.For <IManufacturingCommitDateReport>(); this.OverdueOrdersService = Substitute.For <IOverdueOrdersService>(); this.ProductionBackOrdersReportService = Substitute.For <IProductionBackOrdersReportService>(); this.Sut = new OrdersReportsFacadeService( this.ManufacturingCommitDateReport, this.OverdueOrdersService, this.ProductionBackOrdersReportService); }