public void RequestsCorrectUrlWithRepositoryId()
            {
                var gitHubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservablePullRequestReviewCommentReactionsClient(gitHubClient);
                var newReaction  = new NewReaction(ReactionType.Confused);

                client.Create(1, 1, newReaction);

                gitHubClient.Received().Reaction.PullRequestReviewComment.Create(1, 1, newReaction);
            }
            public void EnsuresNonNullArguments()
            {
                var gitHubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservablePullRequestReviewCommentReactionsClient(gitHubClient);

                Assert.Throws <ArgumentNullException>(() => client.Create(null, "name", 1, new NewReaction(ReactionType.Heart)));
                Assert.Throws <ArgumentNullException>(() => client.Create("owner", null, 1, new NewReaction(ReactionType.Heart)));
                Assert.Throws <ArgumentNullException>(() => client.Create("owner", "name", 1, null));

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

                Assert.Throws <ArgumentException>(() => client.Create("", "name", 1, new NewReaction(ReactionType.Heart)));
                Assert.Throws <ArgumentException>(() => client.Create("owner", "", 1, new NewReaction(ReactionType.Heart)));
            }