DiskContentLoaderTests LoadNonExistingImageFails Method Delta Engine Documentation

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

public void LoadNonExistingImageFails()
Examples

[Test]
public void LoadNonExistingImageFails()
{
    if (Debugger.IsAttached)
        Assert.Throws<ContentLoader.ContentNotFound>(
            () => ContentLoader.Load<MockImage>("FailImage"));
}
See Also