Esempio n. 1
0
        public void CreatePropertyMarkup()
        {
            var output         = _outputFormatter.CreatePropertyMarkup("PropertyName", typeof(int));
            var expectedOutput = new XElement(
                "Signature",
                new XElement("Type", "System.Int32", new XAttribute("languageType", "Keyword")),
                new XElement("Name", "PropertyName")
                );

            Assert.That(output.ToString(), Is.EqualTo(expectedOutput.ToString()));
        }