public void GetEpicData1()
        {
            long repoId = MockServer.repositoryId;
            int  epicId = MockServer.issueNumber;

            var result = _zenhubClient.GetEpicClient(repoId, epicId).GetDetailsAsync().GetAwaiter().GetResult();

            Assert.NotNull(result);
            Assert.AreEqual(3161, result.Value.Issues[0].IssueNumber);
        }
示例#2
0
        public void GetEpicClient_Null()
        {
            ZenHubClient zh = new ZenHubClient("dummy");

            Assert.Throws <ArgumentNullException>(() => zh.GetEpicClient(null));
        }