public void BaseComparisonTest() { var source = new Server("Source"); var target = srv; target.Validate(); TestLog.Info("Source model:"); // source.Dump(); TestLog.Info("Target model:"); // target.Dump(); var comparer = new Comparer(); var hints = new HintSet(source, target) { new RenameHint("", "") }; Difference diff = comparer.Compare(source, target, hints); TestLog.Info("Difference: \r\n{0}", diff); var actions = new ActionSequence { new Upgrader().GetUpgradeSequence(diff, hints, comparer) }; TestLog.Info("Actions: \r\n{0}", actions); TestLog.Info("Applying actions..."); actions.Apply(source); TestLog.Info("Updated Model 1:"); // source.Dump(); }