public void Setup() { _eLinksApiClient = new Mock <IELinksApiClient>(); _bookingsApiClient = new Mock <IBookingsApiClient>(); _logger = new Mock <ILogger <ELinksService> >(); _eLinksService = new ELinksService(_eLinksApiClient.Object, _bookingsApiClient.Object, _logger.Object); }
public void Setup() { _peoplesClient = new Mock <IPeoplesClient>(); _leaversClient = new Mock <ILeaversClient>(); _bookingsApiClient = new Mock <IBookingsApiClient>(); _logger = new Mock <ILogger <ELinksService> >(); _eLinksService = new ELinksService(_peoplesClient.Object, _leaversClient.Object, _bookingsApiClient.Object, _logger.Object); }