Esempio n. 1
0
        public void GitHubApi_GetUserWithReposByLogin_GetUserAndExistAnyRepo()
        {
            GitHubApi gitHubApi = new GitHubApi("https://api.github.com/", logger);

            var result = gitHubApi.GetUserWithReposByLogin("mimat2");

            Assert.IsNotNull(result);
            Assert.IsNotNull(result.Login);
            Assert.AreNotEqual("", result.Login);
            Assert.IsNotNull(result.UserRepos);
            Assert.IsTrue(result.UserRepos.Any());
        }