Edit() public method

Edits a comment on a pull request review.
http://developer.github.com/v3/pulls/comments/#edit-a-comment
public Edit ( long repositoryId, int number, PullRequestReviewCommentEdit comment ) : IObservable
repositoryId long The Id of the repository
number int The pull request review comment number
comment PullRequestReviewCommentEdit The edited comment
return IObservable
            public void PostsToCorrectUrlWithRepositoryId()
            {
                var gitHubClient = Substitute.For<IGitHubClient>();
                var client = new ObservablePullRequestReviewCommentsClient(gitHubClient);

                var comment = new PullRequestReviewCommentEdit("New comment content");

                client.Edit(1, 13, comment);

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

                var body = "New comment content";

                var comment = new PullRequestReviewCommentEdit(body);

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

                Assert.Throws<ArgumentNullException>(() => client.Edit(1, 1, null));

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

                var comment = new PullRequestReviewCommentEdit("New comment content");

                client.Edit("fakeOwner", "fakeRepoName", 13, comment);

                gitHubClient.PullRequest.Comment.Received().Edit("fakeOwner", "fakeRepoName", 13, comment);
            }