GetComment() public méthode

Gets a single pull request review comment by number.
http://developer.github.com/v3/pulls/comments/#get-a-single-comment
public GetComment ( long repositoryId, int number ) : IObservable
repositoryId long The Id of the repository
number int The pull request review comment number
Résultat IObservable
            public void GetsFromClientPullRequestCommentWithRepositoryId()
            {
                var gitHubClient = Substitute.For<IGitHubClient>();
                var client = new ObservablePullRequestReviewCommentsClient(gitHubClient);

                client.GetComment(1, 53);

                gitHubClient.PullRequest.ReviewComment.Received().GetComment(1, 53);
            }
            public async Task EnsuresNonNullArguments()
            {
                var client = new ObservablePullRequestReviewCommentsClient(Substitute.For<IGitHubClient>());

                Assert.Throws<ArgumentNullException>(() => client.GetComment(null, "name", 1));
                Assert.Throws<ArgumentNullException>(() => client.GetComment("owner", null, 1));

                Assert.Throws<ArgumentException>(() => client.GetComment("", "name", 1));
                Assert.Throws<ArgumentException>(() => client.GetComment("owner", "", 1));
            }
            public void GetsFromClientPullRequestComment()
            {
                var gitHubClient = Substitute.For<IGitHubClient>();
                var client = new ObservablePullRequestReviewCommentsClient(gitHubClient);

                client.GetComment("owner", "name", 53);

                gitHubClient.PullRequest.ReviewComment.Received().GetComment("owner", "name", 53);
            }