public JitneySubscriptionsTest() { this.handlerRegistry = A.Fake <AbstractHandlerRegistry>(); this.handlerInvocationCache = new HandlerInvocationCache(); this.testee = new JitneySubscriptions(this.handlerRegistry, this.handlerInvocationCache); }
/// <summary> /// Creates a new instance of <see cref="AbstractJitneyConfiguration"/> /// </summary> /// <param name="handlerRegistry">Dependency injection for <see cref="AbstractHandlerRegistry"/></param> protected AbstractJitneyConfiguration(AbstractHandlerRegistry handlerRegistry) { this.configurationItems = new Dictionary <string, object>(); this.contractMap = new Dictionary <Type, EndpointAddress>(); this.jitneySubscriptions = new JitneySubscriptions(handlerRegistry, new HandlerInvocationCache()); this.incommingEnvelopeSteps = new List <IncommingEnvelopeStep>(); this.incommingMessageSteps = new List <IncommingMessageStep>(); this.outgoingMessageSteps = new List <OutgoingMessageStep>(); this.outgoingEnvelopeSteps = new List <OutgoingEnvelopeStep>(); this.subscriptionStore = new InMemorySubscriptionStore(); }