public async Task EnsuresNonEmptyArguments()
            {
                var gitHubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservableCheckRunsClient(gitHubClient);

                var update = new CheckRunUpdate {
                    Status = CheckStatus.InProgress
                };

                Assert.Throws <ArgumentException>(() => client.Update("", "repo", 1, update));
                Assert.Throws <ArgumentException>(() => client.Update("fake", "", 1, update));
            }
            public async Task RequestsCorrectUrl()
            {
                var gitHubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservableCheckRunsClient(gitHubClient);

                var update = new CheckRunUpdate {
                    Status = CheckStatus.InProgress
                };

                client.Update("fake", "repo", 1, update);

                gitHubClient.Check.Run.Received().Update("fake", "repo", 1, update);
            }