示例#1
0
        public async void GetTasks_NonZeroList()
        {
            OutlookLogicAppClient outlookClient = new OutlookLogicAppClient();

            await outlookClient.RefreshTasksAsync();

            Assert.NotNull(outlookClient.Tasks);
        }
示例#2
0
        public async void AddTaskAsync_NewTask_ReturnsValidTaskId()
        {
            OutlookLogicAppClient outlookClient = new OutlookLogicAppClient();
            await outlookClient.RefreshTasksAsync();

            SyncTask syncTask = new SyncTask()
            {
                Title = "Test Task"
            };

            SyncTask syncedTask = await outlookClient.AddTaskAsync(syncTask);

            Assert.NotNull(syncedTask.Id);
        }