Esempio n. 1
0
        public void LoadFromXmlTest()
        {
            var target = new PackageRef(string.Empty, string.Empty, PackageStorageType.FileSystem);

            target.LoadFromXml(Xml);
            Assert.AreEqual(Xml, target.PersistToXml());
        }
Esempio n. 2
0
        public void LoadFromXmlTest1()
        {
            XmlNode packageRef = Helper.GetXmlNodeFromString(Xml);
            var     target     = new PackageRef(string.Empty, string.Empty, PackageStorageType.FileSystem);

            target.LoadFromXml(packageRef);
            Assert.AreEqual(Xml, target.PersistToXml());
        }