public void Create() { var inStream = BinaryUtilities.GenerateRandomStream(1024); var reference = Provider.CreateRandomBinary(stream: inStream); using var outStream = BinaryUtilities.GetStream(reference); Assert.True(BinaryUtilities.GetSize(reference) == inStream.Length); inStream.Seek(0, System.IO.SeekOrigin.Begin); Assert.True(outStream.StreamEquals(inStream)); }