/// <summary> /// Initializes a new instance of the <see cref="EventGridFunction"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="eventDispatcher">The event dispatcher.</param> public EventGridFunction( IObjectLogger <EventGridFunction> logger, IEventGridDispatcher eventDispatcher) { _logger = logger; _eventDispatcher = eventDispatcher; }
public EventGridFunctionTests() { _logger = Mock.Of <IObjectLogger <EventGridFunction> >(); _eventDispatcher = Mock.Of <IEventGridDispatcher>(); _eventGridFunction = new EventGridFunction(_logger, _eventDispatcher); }