public void GetLargeStringInAttributeMemento()
        {
            XmlDocument document = DataMother.GetXmlDocument("CDataTest.xml");
            XmlNode     node     = document.DocumentElement.LastChild;

            var memento = new XmlAttributeInstanceMemento(node);

            Assert.AreEqual("select * from table", memento.GetProperty("bigProp"));
        }
Exemplo n.º 2
0
 public void GetProperty()
 {
     Assert.AreEqual("red", _memento.GetProperty("color"));
 }