public CommandBusPipelineTests() { middlewareFactory = Substitute.For <ICommandBusMiddlewareFactory>(); commandBus = Substitute.For <ICommandBus>(); sut = new CommandBusPipeline(middlewareFactory); }
public CommandBusPipeline(ICommandBusMiddlewareFactory middlewareFactory) { this.middlewareFactory = middlewareFactory; }