System.IO.Abstractions
System.IO.Abstractions copied to clipboard
MockFileInfo.OpenWrite returns stream with read access.
This is not the behaviour I receive when opening a filestream. My unit test passed but the code failed at runtime. I expected OpenWrite() to return a stream with no read access, and to throw the appropriate exception when a read is attempted.

Thanks for reporting this, @AngusMcIntyre