public void DotNetCommentTypeParameter_FromXml_Empty()
        {
            //arrange
            string   name    = "test";
            XElement element = XElement.Parse("<typeparam name='" + name + "' />", LoadOptions.PreserveWhitespace);
            //act
            DotNetCommentTypeParameter result = DotNetCommentTypeParameter.FromVisualStudioXml(element);

            //assert
            Assert.AreEqual(name, result.Link.FullName);
            Assert.AreEqual(0, result.Comments.Count);
        }
        public void DotNetCommentTypeParameter_FromXml_Full()
        {
            //arrange
            string   name     = "test";
            string   comments = Utilities.LoadText(Utilities.GetPathTo("data/DotNetCommentGroup_XmlCommentsNestedInTag.txt"));
            XElement element  = XElement.Parse("<typeparam name='" + name + "'>" + comments + "</typeparam>", LoadOptions.PreserveWhitespace);
            //act
            DotNetCommentTypeParameter result = DotNetCommentTypeParameter.FromVisualStudioXml(element);

            //assert
            Assert.AreEqual(name, result.Link.FullName);
            Assert.AreEqual(14, result.Comments.Count);
        }