public void AppendCommentEmptyText() { XmlBuilder xmlBuilder = new XmlBuilder(); xmlBuilder.AppendComment(null); Assert.AreEqual("<!-- -->", xmlBuilder.ToString()); }
public void AppendComment() { XmlBuilder xmlBuilder = new XmlBuilder(); xmlBuilder.AppendComment("Comment"); Assert.AreEqual("<!-- Comment -->", xmlBuilder.ToString()); }