BinaryDataLoadSaveTests CreateInstanceOfTypeWithCtorParamsShouldThrowException 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 CreateInstanceOfTypeWithCtorParamsShouldThrowException()
Examples

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