ContentTypeIdentifierTests ThrowExceptionIfInvalidXmlData Method Delta Engine Documentation

Namespace: DeltaEngine.Content.Xml.Tests
Assembly: DeltaEngine.Content.Xml.Tests (in DeltaEngine.Content.Xml.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ThrowExceptionIfInvalidXmlData()
Examples

[Test]
public void ThrowExceptionIfInvalidXmlData()
{
    const string InvalidXmlData = "<Opening></Closing>";
    Assert.Throws<XmlException>(() => GetContentTypeOfXmlData(InvalidXmlData));
}
See Also