public void ModifyInteegr()
        {
            SetUp();

            _fromNode.Set <IntegerInterpreter>().Value = 2;
            _toNode.Set <IntegerInterpreter>().Value   = 3;

            var fromSerialTree = Document.ReflectTreeMirror(_fromNode);
            var toSerialTree   = Document.ReflectTreeMirror(_toNode);

            NodeDiff.ComputeDiff(fromSerialTree, toSerialTree, _diff, _redoDiff);

            Assert.AreEqual(_diff.ModifiedAttributeData.Count, 1);
            Assert.AreEqual(_redoDiff.ModifiedAttributeData.Count, 1);
        }
        public void OneNode()
        {
            SetUp();
            _toNode.AddNewChild();

            Assert.AreEqual(_diff.RemovedNodes.Count, 0);
            Assert.AreEqual(_redoDiff.Children.Count, 0);

            var fromSerialTree = Document.ReflectTreeMirror(_fromNode);
            var toSerialTree   = Document.ReflectTreeMirror(_toNode);

            NodeDiff.ComputeDiff(fromSerialTree, toSerialTree, _diff, _redoDiff);

            Assert.AreEqual(_diff.RemovedNodes.Count, 1);
            Assert.AreEqual(_redoDiff.Children.Count, 1);
        }