public LocalCommandBusTests() { serviceLocator = Substitute.For <IServiceLocator>(); commandBusPipeline = Substitute.For <ICommandBusPipeline>(); sut = new LocalCommandBus(serviceLocator, commandBusPipeline); }
public LocalCommandBus(IServiceLocator serviceLocator, ICommandBusPipeline pipeline) { this.serviceLocator = serviceLocator; this.pipeline = pipeline; }