tathamoddie/System.IO.Abstractions — pull request #10 by palfrey (2012-11-27 16:16:37+00:00)
Title: Implement OpenWrite by extending MemoryStream into MockFileStream

Most of what MockFileStream does is that it remembers to write back into the mock filesystem on close.