public ImportNotificationChargeCalculator(IImportNotificationRepository notificationRepository, IShipmentRepository shipmentRepository, IPricingStructureRepository pricingStructureRepository, IInterimStatusRepository interimStatusRepository, INumberOfShipmentsHistotyRepository numberOfShipmentsHistotyRepository) { this.notificationRepository = notificationRepository; this.shipmentRepository = shipmentRepository; this.pricingStructureRepository = pricingStructureRepository; this.interimStatusRepository = interimStatusRepository; this.numberOfShipmentsHistotyRepository = numberOfShipmentsHistotyRepository; }
public NotificationChargeCalculator(IShipmentInfoRepository shipmentInfoRepository, INotificationApplicationRepository notificationApplicationRepository, IPricingStructureRepository pricingStructureRepository, IFacilityRepository facilityRepository, INumberOfShipmentsHistotyRepository numberOfShipmentsHistotyRepository) { this.shipmentInfoRepository = shipmentInfoRepository; this.notificationApplicationRepository = notificationApplicationRepository; this.pricingStructureRepository = pricingStructureRepository; this.facilityRepository = facilityRepository; this.numberOfShipmentsHistotyRepository = numberOfShipmentsHistotyRepository; }
public NotificationChargeCalculatorTests() { notificationId = new Guid("C4C62654-048C-45A2-BF7F-9837EFCF328F"); shipmentInfoRepository = A.Fake <IShipmentInfoRepository>(); shipmentInfo = A.Fake <ShipmentInfo>(); notificationApplicationRepository = A.Fake <INotificationApplicationRepository>(); pricingStructureRepository = A.Fake <IPricingStructureRepository>(); facilityRepository = A.Fake <IFacilityRepository>(); numberOfShipmentsHistotyRepository = A.Fake <INumberOfShipmentsHistotyRepository>(); notificationApplication = new TestableNotificationApplication(); chargeCalculator = new NotificationChargeCalculator(shipmentInfoRepository, notificationApplicationRepository, pricingStructureRepository, facilityRepository, numberOfShipmentsHistotyRepository); }
public NotificationChargeCalculatorTests() { notificationId = new Guid("C4C62654-048C-45A2-BF7F-9837EFCF328F"); shipmentInfoRepository = A.Fake<IShipmentInfoRepository>(); shipmentInfo = A.Fake<ShipmentInfo>(); notificationApplicationRepository = A.Fake<INotificationApplicationRepository>(); pricingStructureRepository = A.Fake<IPricingStructureRepository>(); facilityRepository = A.Fake<IFacilityRepository>(); numberOfShipmentsHistotyRepository = A.Fake<INumberOfShipmentsHistotyRepository>(); notificationApplication = new TestableNotificationApplication(); chargeCalculator = new NotificationChargeCalculator(shipmentInfoRepository, notificationApplicationRepository, pricingStructureRepository, facilityRepository, numberOfShipmentsHistotyRepository); }
public GetOriginalNumberOfShipmentsHandler(INumberOfShipmentsHistotyRepository repository, IMap <NumberOfShipmentsHistory, NumberOfShipmentsHistoryData> map) { this.repository = repository; this.map = map; }
public SetNewNumberOfShipmentsHandler(IwsContext context, INumberOfShipmentsHistotyRepository shipmentHistotyRepository, IShipmentInfoRepository shipmentInfoRepository) { this.context = context; this.shipmentHistotyRepository = shipmentHistotyRepository; this.shipmentInfoRepository = shipmentInfoRepository; }
public GetChangeNumberOfShipmentConfrimationDataHandler(INumberOfShipmentsHistotyRepository shipmentsHistotyRepository, IImportNotificationChargeCalculator notificationChargeCalculator) { this.shipmentsHistotyRepository = shipmentsHistotyRepository; this.notificationChargeCalculator = notificationChargeCalculator; }
public SetNewNumberOfShipmentsHandler(ImportNotificationContext context, INumberOfShipmentsHistotyRepository shipmentHistotyRepository, IShipmentRepository shipmentRepository) { this.context = context; this.shipmentHistotyRepository = shipmentHistotyRepository; this.shipmentRepository = shipmentRepository; }