public void SetAttributeValueDiscarded() { InstanceHandle keyClass = oms.GetInstance(KnownInstanceGuids.Classes.Class); InstanceHandle keyAttributeName = oms.GetInstance(KnownAttributeGuids.Text.Name); oms.BeginTransaction(); oms.SetAttributeValue(keyClass, keyAttributeName, SAV_TEST_VALUE); oms.DiscardTransaction(); string value = oms.GetAttributeValue <string>(keyClass, keyAttributeName); Assert.IsNull(value); }