public void Forums_Add_Remove_Moderator() { DisqusApiClient client = new DisqusApiClient(new Disqus.Api.V30.Authentication.DsqAuth(_validApiKey, _validAccessToken), new Uri("http://disqus.com/", UriKind.Absolute)); // // Add a moderator and immediately remove them var add = client.AddModeratorToForumAsync("username:" + _targetUserToAddModerator, _ownedForum).Result; Assert.AreEqual(0, add.Code); System.Diagnostics.Debug.WriteLine(JsonConvert.SerializeObject(add.Response)); var remove = client.RemoveModeratorFromForumAsync(add.Response.Values.FirstOrDefault().ToString()).Result; Assert.AreEqual(0, remove.Code); }