public void Document_BO_Test1() { DocumentBO _docBO = new DocumentBO(); Guid iId = new Guid("e4ca836a-14dd-4620-bf0b-91ba89450f96"); DocumentViewModel vmItem = new DocumentViewModel() { Name = ORIGINL_NAME }; _docBO.Add(vmItem, iId); Assert.IsNotNull(vmItem.Id); Assert.AreNotEqual(Guid.Empty, vmItem.Id); vmItem.Name = NEW_NAME; bool result = _docBO.Save(vmItem, iId); Assert.IsTrue(result); string newName = _docBO.Get(vmItem.Id, iId).Name; Assert.AreEqual(NEW_NAME, newName); result = _docBO.Delete(vmItem.Id, iId); Assert.IsTrue(result); }