public void DirectoryDeleteTest() { IEntry entry = FileFactory.CreateEntry(@"C:\ForFileManager\ToDeleteByFile1.txt"); MyDirectory.Delete(entry.FullName); Assert.IsFalse(MyDirectory.Exists(@"C:\ForFileManager\ToDeleteByFile1.txt")); }
public void DirectoryDeleteTest() { IEntry entry = FileFactory.CreateEntry(@"C:\ForFileManager\ToDeleteByFile1.txt"); MyDirectory.Delete(entry.FullName); Assert.IsFalse(MyDirectory.Exists(@"C:\ForFileManager\ToDeleteByFile1.txt")); }