public async Task CanListIssueLabelsForARepository() { var newLabel1 = new NewLabel("test label 1", "FFFFFF"); var newLabel2 = new NewLabel("test label 2", "FFFFFF"); var originalIssueLabels = await _issuesLabelsClient.GetForRepository(_repositoryOwner, _repositoryName); await _issuesLabelsClient.Create(_repositoryOwner, _repository.Name, newLabel1); await _issuesLabelsClient.Create(_repositoryOwner, _repository.Name, newLabel2); var issueLabels = await _issuesLabelsClient.GetForRepository(_repositoryOwner, _repositoryName); Assert.Equal(originalIssueLabels.Count + 2, issueLabels.Count); }