public DemoConferenceServiceTest() { httpClientService = Substitute.For <IHttpClientService>(); logger = Substitute.For <ILogger <IDemoConferenceService> >(); cache = Substitute.For <IMemoryCache>(); demoConferenceService = new DemoConferenceService(httpClientService, logger, cache); }
public ConferenceController(IDemoConferenceService demoConferenceService) { _demoConferenceService = demoConferenceService; }
public ConferenceControllerTest() { demoConferenceService = Substitute.For <IDemoConferenceService>(); conferenceController = new ConferenceController(demoConferenceService); }