public void JiraBasicRestClient_GetCurrentUser()
 {
     JiraBasicRestClient client = new JiraBasicRestClient(JiraTestUrl, JiraTestUser, JiraTestPassword);
     JiraUser currentUser = client.GetCurrentUser();
     Assert.IsNotNull(currentUser);
     Assert.AreEqual(JiraTestUser, currentUser.Name);
     Assert.IsNotNull(currentUser.AvatarUrls);
     Assert.IsNotNull(currentUser.Groups);
     Assert.IsNotNull(currentUser.ApplicationRoles);
     Assert.IsNotNull(currentUser.Groups.Items);
     Assert.IsNotNull(currentUser.ApplicationRoles.Items);
 }
 public void Jira_Get_Issue_By_Key()
 {
     JiraBasicRestClient client = new JiraBasicRestClient(JiraTestUrl, JiraTestUser, JiraTestPassword);
     JiraWardIssue issue = client.GetIssue("TEST-1");
     Assert.IsNotNull(issue);
 }
 public void JiraBasicRestClient_Ctor_IsAuthenticated()
 {
     JiraBasicRestClient client = new JiraBasicRestClient(JiraTestUrl, JiraTestUser, JiraTestPassword);
     Assert.IsTrue(client.IsAuthenticated);
 }