public void Test_UserMessageService_UpdateFolder() { var folder = new UserMessageFolder { Title = "test 123", Slug = "test" }; this.UserMessageService.UpdateFolder(folder); Assert.AreEqual("test-123", folder.Slug, "Slug"); }
public void Test_UserMessageService_InsertFolder() { var folder = new UserMessageFolder { Title = "test 123" }; this.UserMessageService.InsertFolder(folder); Assert.AreEqual(1, folder.UserId, "UserId"); Assert.AreEqual("test-123", folder.Slug, "Slug"); }