public async Task TestCreateCommentForTask() { TaskService taskService = new TaskService(_callerRestApiTodoist); TaskModel taskCreated = await taskService.CreateTaskAsync("Task created by TestCreateCommentForTask"); CommentModel comment = await _sut.CreateCommentForTaskAsync("Comment created by TestCreateCommentForTask", taskCreated.ID); Assert.IsNotNull(comment); Assert.IsTrue(comment.ID > 0); Assert.AreEqual("Comment created by TestCreateCommentForTask", comment.Content); Assert.AreEqual(taskCreated.ID, comment.TaskID); Assert.IsNull(comment.ProjectID); Assert.IsNotNull(comment.Posted); Assert.IsNull(comment.Attachment); await _sut.DeleteCommentAsync(comment.ID); await taskService.DeleteTaskAsync(taskCreated.ID); }