public EventAggregatorTestsBase()
 {
     MockEventSubscription  = new Mock <IEventSubscription>();
     AggregatorConfig       = CreateConfiguration();
     EventSubscriptionState = new EventSubscriptionStateDto();
     MockEventSubscription.Setup(s => s.State).Returns(EventSubscriptionState);
     Aggregator = new EventAggregator(MockEventSubscription.Object, 1, AggregatorConfig);
 }
Beispiel #2
0
 public EventAggregator(IEventSubscription subscription, long id, IEventAggregatorDto aggregatorConfiguration) :
     base(subscription, id)
 {
     Configuration = aggregatorConfiguration;
 }