public void Whitelists_All() { DisqusApiClient client = new DisqusApiClient(new Disqus.Api.V30.Authentication.DsqAuth(_validApiKey, _validAccessToken), new Uri("http://disqus.com/", UriKind.Absolute)); // // Add to whitelist var response = client.AddToWhitelistAsync(_ownedForum, "*****@*****.**", _targetUserToAddModerator, "Test notes 1").Result; Assert.AreEqual(0, response.Code); // // List the whitelist var responseList = client.ListForumWhitelistAsync(_ownedForum, "", 1).Result; Assert.AreEqual(0, responseList.Code); // // Remove from whitelist var responseRemove = client.RemoveFromWhitelistAsync(_ownedForum, "*****@*****.**", _targetUserToAddModerator).Result; Assert.AreEqual(0, responseRemove.Code); }