public void CreateNestedTypeMarkup_NestedEnumeration() { var output = _outputFormatter.CreateNestedTypeMarkup(typeof(MemberSignatureTestClass.NestedEnumeration)); var expectedOutput = new XElement( "Signature", new XElement("Keyword", "enum"), new XElement("Name", "NestedEnumeration") ); Assert.That(output.ToString(), Is.EqualTo(expectedOutput.ToString())); }