private void WithTryReadValueResult(IBufferReader reader,
                                            IEnumerable bytes)
        {
            reader.TryReadValue(Arg.Any <IBuffer> ( ),
                                out var _)
            .Returns(x =>
            {
                x [1] = bytes;

                return(true);
            });
        }