public ReplayQueuedEventsServiceTests()
 {
     _dataStore             = A.Fake <IDataStore>();
     _sendToEndpointService = A.Fake <ISendToEndpointService>();
     _queueEventService     = A.Fake <IQueueEventService>();
     _sut = new ReplayQueuedEventsService(_dataStore, _sendToEndpointService, _queueEventService);
 }
Ejemplo n.º 2
0
 public ReplayQueuedEventsService(
     IDataStore dataStore,
     ISendToEndpointService sendToEndpointService,
     IQueueEventService queueEventService
     )
 {
     _dataStore             = dataStore;
     _sendToEndpointService = sendToEndpointService;
     _queueEventService     = queueEventService;
 }
Ejemplo n.º 3
0
 public RouteRequestService(
     ISendToEndpointService sendToEndpointService,
     IValidateApplicationTokenService validateApplicationTokenService,
     IKafkaProducerService kafkaProducerService,
     IGetServiceSubscriptionsForEventService getServiceSubscriptionsForEventService,
     IDataStore dataStore
     )
 {
     _sendToEndpointService                  = sendToEndpointService;
     _validateApplicationTokenService        = validateApplicationTokenService;
     _kafkaProducerService                   = kafkaProducerService;
     _getServiceSubscriptionsForEventService = getServiceSubscriptionsForEventService;
     _dataStore = dataStore;
 }
        public RouteRequestServiceTests()
        {
            _sendToEndpointService = A.Fake<ISendToEndpointService>();
            _validateApplicationTokenService = A.Fake<IValidateApplicationTokenService>();
            _kafkaProducerService = A.Fake<IKafkaProducerService>();
            _getServiceSubscriptionsForEventService = A.Fake<IGetServiceSubscriptionsForEventService>();
            _dataStore = A.Fake<IDataStore>();

            _sut = new RouteRequestService(
                _sendToEndpointService,
                _validateApplicationTokenService,
                _kafkaProducerService,
                _getServiceSubscriptionsForEventService,
                _dataStore
            );
        }