-
Notifications
You must be signed in to change notification settings - Fork 267
Description
Directory.Move() should be able to move files: https://msdn.microsoft.com/en-us/library/system.io.directory.move(v=vs.110).aspx
The current implementation of MockDirectory, however, assumes that the moved object is a directory and throws an exception.
System.IO.Abstractions.TestingHelpers.dll!System.IO.Abstractions.TestingHelpers.MockDirectory.EnumerateDirectories(string path, string searchPattern, System.IO.SearchOption searchOption)
System.IO.Abstractions.TestingHelpers.dll!System.IO.Abstractions.TestingHelpers.MockDirectory.GetDirectories(string path, string searchPattern, System.IO.SearchOption searchOption)
System.IO.Abstractions.TestingHelpers.dll!System.IO.Abstractions.TestingHelpers.MockDirectory.GetDirectories(string path, string searchPattern)
System.IO.Abstractions.TestingHelpers.dll!System.IO.Abstractions.TestingHelpers.MockDirectory.GetDirectories(string path)
System.IO.Abstractions.TestingHelpers.dll!System.IO.Abstractions.TestingHelpers.MockDirectory.Move(string sourceDirName, string destDirName)