public void CL_WorkItemTracking_WorkItems_GetWorkItemFullyExpanded_Success() { // arrange WorkItems workItems = new WorkItems(_configuration); // act var result = workItems.GetWorkItemFullyExpanded(_configuration.WorkItemId); Assert.IsNotNull(result); }
public void WorkItemTracking_WorkItems_GetWorkItemFullyExpanded_Success() { // arrange WorkItems request = new WorkItems(_configuration); // act var response = request.GetWorkItemFullyExpanded(_configuration.WorkItemId); // assert if (response.HttpStatusCode == HttpStatusCode.NotFound) { Assert.Inconclusive("work item '" + _configuration.WorkItemId + "' not found"); } else { Assert.AreEqual(HttpStatusCode.OK, response.HttpStatusCode); } request = null; }