Esempio n. 1
0
    public void Deleting_A_Folder_Should_Remove_It_From_File_System()
    {
      DirectoryInfo dir = rootDirectory.GetDirectories().First();
      Assert.True(dir.Exists);

      VirtualFolder folder = root.GetFolders(dir.Name).Single();
      folder.Delete();

      dir.Refresh();
      Assert.False(dir.Exists);
    }