public AggregateRootEventApplicatorTests() { _mockDelegateProvider = new Mock <IProvideEventDelegates>(); _eventApplicator = new EventApplicator(_mockDelegateProvider.Object); }
public AggregateRootRepository(IReadEvents eventReader, IWriteEvents eventWriter, IApplyEventsToAggregates eventApplicator) { _eventReader = eventReader; _eventWriter = eventWriter; _eventApplicator = eventApplicator; }