public async Task EnsuresNonNullArguments()
{
var gitHubClient = Substitute.For<IGitHubClient>();
var client = new ObservablePullRequestReviewCommentsClient(gitHubClient);
string body = "Comment content";
int inReplyTo = 7;
var comment = new PullRequestReviewCommentReplyCreate(body, inReplyTo);
Assert.Throws<ArgumentNullException>(() => client.CreateReply(null, "name", 1, comment));
Assert.Throws<ArgumentNullException>(() => client.CreateReply("owner", null, 1, comment));
Assert.Throws<ArgumentNullException>(() => client.CreateReply("owner", "name", 1, null));
Assert.Throws<ArgumentNullException>(() => client.CreateReply(1, 1, null));
Assert.Throws<ArgumentException>(() => client.CreateReply("", "name", 1, comment));
Assert.Throws<ArgumentException>(() => client.CreateReply("owner", "", 1, comment));
}