public async Task EnsuresNonNullArguments()
            {
                var client = new ObservableRepositoriesClient(Substitute.For <IGitHubClient>());

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

                Assert.Throws <ArgumentException>(() => client.Delete("", "name"));
                Assert.Throws <ArgumentException>(() => client.Delete("owner", ""));
            }
            public async Task RequestsCorrectUrlWithRepositoryId()
            {
                var gitHubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservableRepositoriesClient(gitHubClient);

                await client.Delete(1);

                gitHubClient.Received().Repository.Delete(1);
            }