public EventGridPublisherTests() { _settingsProvider = Mock.Of <ISettingsProvider>(); _logger = Mock.Of <IObjectLogger <EventGridPublisher> >(); _eventGridClientProvider = Mock.Of <IEventGridClientProvider>(); _eventGridPublisher = new EventGridPublisher(_logger, _settingsProvider, _eventGridClientProvider); }
/// <summary> /// Initializes a new instance of the <see cref="EventGridPublisher"/> class. /// </summary> /// <param name="logger">logger.</param> /// <param name="settingsProvider">settingsProvider.</param> /// <param name="eventGridClientProvider">eventGridClientProvider.</param> public EventGridPublisher( IObjectLogger <EventGridPublisher> logger, ISettingsProvider settingsProvider, IEventGridClientProvider eventGridClientProvider) { _logger = logger; _settingsProvider = settingsProvider; _eventGridClientProvider = eventGridClientProvider; }