public void CanCreateUpdateAndDeleteForums()
{
var res = api.Forums.CreateForum(new Forum()
{
Name = "test forum",
ForumType = ForumTypes.Articles,
Access = ForumAccessTypes.Everybody
});
Assert.Greater(res.Forum.Id, 0);
res.Forum.Name = "updated test forum";
var update = api.Forums.UpdateForum(res.Forum);
Assert.AreEqual(update.Forum.Name, res.Forum.Name);
Assert.True(api.Forums.DeleteForum(res.Forum.Id.Value));
}