static void AssertComment(PullRequestReviewComment comment, string body, int position)
 {
     Assert.NotNull(comment);
     Assert.Equal(body, comment.Body);
     Assert.Equal(position, comment.Position);
 }
예제 #2
0
 private void AddComment(PullRequestReviewComment reviewComment)
 {
     var comments = _comments.ToList();
     comments.Add(reviewComment);
     Comments = new ReadOnlyCollection<PullRequestReviewComment>(comments);
 }