public void Moving_Should_Return_Updated_FolderWrapper() { originalFolder.Move(targetDir.FullName); Assert.AreEqual(targetDir.Name, originalFolder.MetaData.Name); var copy = provider.GetFolderInfo(originalFolder.MetaData.FullName); Assert.AreEqual(copy.FullName, originalFolder.MetaData.FullName); }
public void Moving_Folder_Should_Create_New_Folder_At_Destination() { Assert.IsFalse(FileSystem.IsFolderAvailable(targetPath)); source.Move(targetPath); Assert.IsTrue(FileSystem.IsFolderAvailable(targetPath)); }