public void Threads_Details() { DisqusApiClient client = new DisqusApiClient(new Disqus.Api.V30.Authentication.DsqAuth(_validApiKey), new Uri("http://disqus.com/", UriKind.Absolute)); var threadsDetailsById = client.GetThreadDetailsAsync(_targetThread).Result; Assert.AreEqual(0, threadsDetailsById.Code); var threadsDetailsByIdentifier = client.GetThreadDetailsAsync("unit-test-thread-2", "unittestsite1").Result; Assert.AreEqual(0, threadsDetailsByIdentifier.Code); var threadsDetailsByUrl = client.GetThreadDetailsAsync(new Uri("http://unittestsite1.com/new-thread-2/", UriKind.Absolute), "unittestsite1").Result; Assert.AreEqual(0, threadsDetailsByUrl.Code); // // Make sure all these threads are the same Assert.AreEqual(threadsDetailsById.Response.Id, threadsDetailsByIdentifier.Response.Id); Assert.AreEqual(threadsDetailsById.Response.Id, threadsDetailsByUrl.Response.Id); }