public void EnsuresNonEmptyArguments()
            {
                var gitHubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservableGitHubAppsClient(gitHubClient);

                Assert.Throws <ArgumentException>(() => client.GetRepositoryInstallationForCurrent("", "ducks"));
                Assert.Throws <ArgumentException>(() => client.GetRepositoryInstallationForCurrent("mighty", ""));
            }
            public void GetsFromCorrectUrlByRepositoryId()
            {
                var gitHubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservableGitHubAppsClient(gitHubClient);

                client.GetRepositoryInstallationForCurrent(1234);

                gitHubClient.GitHubApps.Received().GetRepositoryInstallationForCurrent(1234);
            }