public NotifyFollowerOfFolloweeMessageTest() { _eventsStore = new EventsStore(); _followersRepository = new FollowersRepository(); var subscriptionsRepository = new SubscriptionsRepository(_eventsStore, _followersRepository); _eventPublisher = new EventPublisherFake(); _handler = new NotifyFollowerOfFolloweeMessage(_followersRepository, subscriptionsRepository, _eventPublisher); }
public SubscriptionTest() { _eventPublisher = new EventPublisherFake(); }
public void Initialize() { _eventPublisher = new EventPublisherFake(); }
public void Initialize() { _eventPublisher = new EventPublisherFake(); }
public ThenFactory(EventPublisherFake eventPublisherFake) { _eventPublisherFake = eventPublisherFake; }
public GivenFactory(IDomainEvent evt, EventPublisherFake eventPublisherFake) { _events.Add(evt); _eventPublisherFake = eventPublisherFake; }
public MessageTest() { _eventPublisher = new EventPublisherFake(); }
public void Initialize() { _store = new EventsStore(); _publisherBase = new EventPublisherFake(); _publisher = new EventPublisherWithStorage(_store, _publisherBase); }
public UserIdentityTest() { _eventPublisher = new EventPublisherFake(); }