XmlContentTests LoadXmlContentFromNonExistingFile 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 LoadXmlContentFromNonExistingFile()
Examples

[Test]
public void LoadXmlContentFromNonExistingFile()
{
    var xmlContent = ContentLoader.Load<XmlContent>("NonExisting");
    Assert.AreEqual("NonExisting", xmlContent.Data.Name);
}
See Also