public void AnatomyManager_UpdateAnatomy() { AnatomyManager m = new AnatomyManager(new TreeMonDbContext(connectionKey)); m.Insert(new Anatomy() { AccountId = "a", Name = "TESTRECORD", UUID = Guid.NewGuid().ToString("N") }); Anatomy s = m.GetAnatomy("TESTRECORD"); s.Name = "UPDATEDRECORD"; Assert.AreEqual(m.UpdateAnatomy(s).Code, 200); Anatomy u = m.GetAnatomy("UPDATEDRECORD"); Assert.IsNotNull(u); }