public void ResetXmlString() { string expected = "<good bye=\"bye\"/>"; XmlStringBuilder sb = new XmlStringBuilder("hello"); sb.Reset("good").AddAttribute("bye", "bye"); Assert.AreEqual(expected, sb.ToString()); }
public void ResetXmlString() { string expected = "<good bye=\"bye\"/>"; XmlStringBuilder sb = new XmlStringBuilder("hello"); sb.Reset("good").AddAttribute("bye", "bye"); Assert.AreEqual(expected, sb.ToString()); }