public void IEventNotifier(IEventNotifier notifier) { GoodEvent @event = new GoodEvent(); notifier.Publish(@event); GoodEvent[] events = new[] { @event }; notifier.PublishMany(events); }
public void IEventPublisher(IEventPublisher publisher) { GoodEvent @event = new GoodEvent(); publisher.Publish(6606, @event); publisher.Publish(6606, @event, DateTime.Now); GoodEvent[] events = new[] { @event }; publisher.PublishMany(6606, events); publisher.PublishMany(6606, events, DateTime.Now); }
public void RefiredEventEnvelopeTests() { GoodEvent @event = new GoodEvent(); RefiredEventEnvelope.Create(6606, @event); }