public TestRun GetTestRun(Guid guid) { using (var httpClient = new HttpClient()) { using (var httpClientManager = new HttpClientManager(httpClient)) { var url = string.Format("{0}api/testrunapi?guid={1}", _apiUrl, guid); return(JsonConvert.DeserializeObject <TestRun>(httpClientManager.Get(url))); } } }