public void EnsuresNonNullArguments()
            {
                var client = new ObservableReleasesClient(Substitute.For<IGitHubClient>());

                Assert.Throws<ArgumentNullException>(() => client.Delete(null, "name", 1));
                Assert.Throws<ArgumentException>(() => client.Delete("", "name", 1));
                Assert.Throws<ArgumentNullException>(() => client.Delete("owner", null, 1));
                Assert.Throws<ArgumentException>(() => client.Delete("owner", "", 1));
            }
            public void RequestsTheCorrectUrl()
            {
                var gitHubClient = Substitute.For<IGitHubClient>();
                var client = new ObservableReleasesClient(gitHubClient);

                client.Delete("fake", "repo", 1);

                gitHubClient.Repository.Release.Received(1).Delete("fake", "repo", 1);
            }