public FakeBus() { this.logger = new ConsoleLogger(); this.applicationLogger = new ConsoleApplicationLogger(); this.paymentsDataStore = new InMemoryPaymentsDataStore(); this.orderAggregateFactory = new OrderAggregateFactory(); this.deliveryAggregateFactory = new DeliveryAggregateFactory(); this.ordersDataStore = new InMemoryOrdersDataStore(); this.deliveryOptionsDataStore = new InMemoryDeliveryOptionsDataStore(); }
public OrderFulfilledV1Handler(IDomainRepository domainRepository, IOrderAggregateFactory orderAggregateFactory, IApplicationLogger applicationLogger) { this.domainRepository = domainRepository; this.orderAggregateFactory = orderAggregateFactory; this.applicationLogger = applicationLogger; }
public PaymentCompletedV1Handler(IDomainRepository domainRepository, IOrderAggregateFactory orderAggregateFactory, IApplicationLogger applicationLogger) { this.domainRepository = domainRepository; this.orderAggregateFactory = orderAggregateFactory; this.applicationLogger = applicationLogger; }