Beispiel #1
0
        public async Task GetUpComingEventsTest()
        {
            ICalendar       mockCalendarService = new MockCalendarService("test token");
            IServiceManager serviceManager      = new ServiceManager(new SkillConfiguration());
            ICalendar       calendarService     = serviceManager.InitCalendarService(mockCalendarService, EventSource.Microsoft);

            await calendarService.GetUpcomingEvents();
        }
Beispiel #2
0
 /// <inheritdoc/>
 public async Task <List <EventModel> > GetUpcomingEvents()
 {
     return(await calendarAPI.GetUpcomingEvents());
 }
 public async Task GetUpComingEventsTest()
 {
     await CalendarService.GetUpcomingEvents();
 }
        public async Task GetUpcomingEventsTest()
        {
            List <EventModel> upcomingEvents = await CalendarService.GetUpcomingEvents();

            Assert.IsTrue(upcomingEvents.Count == 4);
        }