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

[Test]
public void ThereMustBeSomeDataToReadInStream()
{
    var binaryReader = new BinaryReader(new MemoryStream());
    Assert.Throws<BinaryDataExtensions.NotEnoughDataLeftInStream>(() => binaryReader.Create());
}
See Also