public HeartbeatServiceTests() { _validateApplicationTokenService = A.Fake <IValidateApplicationTokenService>(); _dataStore = A.Fake <IDataStore>(); _compassEnvironment = A.Fake <ICompassEnvironment>(); _sut = new HeartbeatService(_validateApplicationTokenService, _dataStore, _compassEnvironment); }
public SubscriptionServiceTests() { _dataStore = A.Fake <IDataStore>(); _compassEnvironment = A.Fake <ICompassEnvironment>(); _replayQueuedEventsService = A.Fake <IReplayQueuedEventsService>(); _validateApplicationTokenService = A.Fake <IValidateApplicationTokenService>(); _sut = new SubscriptionService(_dataStore, _compassEnvironment, _replayQueuedEventsService, _validateApplicationTokenService); }
public HeartbeatService( IValidateApplicationTokenService validateApplicationTokenService, IDataStore dataStore, ICompassEnvironment compassEnvironment ) { _validateApplicationTokenService = validateApplicationTokenService; _dataStore = dataStore; _compassEnvironment = compassEnvironment; }
public SubscriptionService( IDataStore dataStore, ICompassEnvironment compassEnvironment, IReplayQueuedEventsService replayQueuedEventsService, IValidateApplicationTokenService validateApplicationTokenService ) { _dataStore = dataStore; _compassEnvironment = compassEnvironment; _replayQueuedEventsService = replayQueuedEventsService; _validateApplicationTokenService = validateApplicationTokenService; }
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 ); }
public ValidateApplicationTokenServiceTest() { _dataStore = A.Fake <IDataStore>(); _sut = new ValidateApplicationTokenService(_dataStore); }