public void CreateFieldMarkup() { var output = _outputFormatter.CreateFieldMarkup("FieldName", typeof(int)); var expectedOutput = new XElement( "Signature", new XElement("Type", "System.Int32", new XAttribute("languageType", "Keyword")), new XElement("Name", "FieldName") ); Assert.That(output.ToString(), Is.EqualTo(expectedOutput.ToString())); }