BinaryDataLoadSaveTests LoadUnknownTypeShouldThrowException Method Delta Engine Documentation

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

public void LoadUnknownTypeShouldThrowException()
Examples

[Test]
public void LoadUnknownTypeShouldThrowException()
{
    Assert.Throws<Exception>(
        () =>
            BinaryDataLoader.CreateAndLoad(typeof(Vector2D), new BinaryReader(new MemoryStream()),
                new Version(0, 0)));
}
See Also