Hhmm, let me look at this. I haven't tested it much.  

On Monday, October 14, 2013 at 11:21 PM, Tatham Oddie wrote:

> In TestingHelpers/MockFileInfo.cs:
> > + > + public override FileInfoBase CopyTo(string destFileName, bool overwrite) > + { > + new MockFile(mockFileSystem).Copy(FullName, destFileName, overwrite); > + return mockFileSystem.FileInfo.FromFileName(destFileName); > + } > + > + public override Stream Create() > + { > + throw new NotImplementedException("This test helper hasn't been implemented yet. They are implemented on an as-needed basis. As it seems like you need it, now would be a great time to send us a pull request over at https://github.com/tathamoddie/System.IO.Abstractions. You know, because it's open source and all."); > + } > + > + public override StreamWriter CreateText() > + { > + if (!string.IsNullOrEmpty(path)) > + return new StreamWriter(path);  
> Doesn't this go and create a real file on disk, rather than in the in-memory mock file system?
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/tathamoddie/System.IO.Abstractions/pull/51/files#r6962904).
>  
>  
>