public void LoadFromXmlTest() { var target = new PackageRef(string.Empty, string.Empty, PackageStorageType.FileSystem); target.LoadFromXml(Xml); Assert.AreEqual(Xml, target.PersistToXml()); }
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()); }