public void WhenTheReadObservableByteBufferMethodIsCalledWithTheFilenameAndBufferSize() { var filePath = _scenario.Get <string>("filePath"); var bufferSize = _scenario.Get <int>("bufferSize"); var stream = ReactiveFileUtils.ReadObservableByteBuffer(filePath, bufferSize); IList <IList <byte> > lists = stream.ToList().Wait(); _scenario.Set <byte[][]>(lists.ToJagged(), "result"); }