BinaryDataExtensionsTests CannotSaveObjectDataIfNull 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 CannotSaveObjectDataIfNull()
Examples

[Test]
public void CannotSaveObjectDataIfNull()
{
    var binaryWriter = new BinaryWriter(new MemoryStream());
    Assert.Throws<ArgumentNullException>(() => BinaryDataExtensions.Save(null, binaryWriter));
}
See Also