Esempio n. 1
0
        public async void TestGetMyEvents()
        {
            Logic logic = new Logic();
            CalendarController calendarController = new CalendarController(null);

            var events = new EventDto
            {
                Description = "Basketball game",
                Location    = "Los Angeles",
                Message     = "February 26",
                StartTime   = DateTime.Now,
                EndTime     = DateTime.UtcNow
            };



            var getCalendar = await calendarController.GetMyEvents();

            Assert.NotNull(getCalendar);
        }