Exemple #1
0
 public UserRevertServiceTest()
 {
     _domainEventStoreMock  = new Mock <IDomainEventStore>();
     _userGetterServiceMock = new Mock <IUserGetterService>();
     _userRepositoryMock    = new Mock <IUserRepository>();
     _service = new UserRevertService(_domainEventStoreMock.Object, _userGetterServiceMock.Object,
                                      _userRepositoryMock.Object);
 }
Exemple #2
0
 public AnnouncementPreferenceCreationCompletedIntegrationEventFailureHandler(ILogger logger, IUserRevertService userRevertService, IIntegrationEventBus integrationEventBus)
 {
     _logger              = logger;
     _userRevertService   = userRevertService;
     _integrationEventBus = integrationEventBus;
 }