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