Example #1
0
        public void Edit()
        {
            Community newCommunity = new Community("", "");

            newCommunity.Save();
            string name        = "name";
            string description = "description";

            newCommunity.Edit(name, description);
            Assert.AreEqual(name, newCommunity.GetName());
            Assert.AreEqual(description, newCommunity.GetDescription());
        }