public void CanGetIssuesForMilestone() { Milestone milestone1 = repo.GetMilestones().First(m => m.Title == "Milestone 1"); List <Issue> issues = milestone1.GetIssues().ToList(); Assert.True(issues.Count >= 1); Issue expectedIssue = issues.First(i => i.Title == "Create authorization should default to async"); Assert.Equal(ownerName, expectedIssue.UserLogin); Assert.True(expectedIssue.LabelNames.Contains("enhancement")); }