public void File_Delete() { const string contents = "test"; var fn = GetNewFileNameOnTempPath(".txt"); System.IO.File.WriteAllText(fn, contents); Assert.IsTrue(System.IO.File.Exists(fn)); FileSystem.DeleteFile(fn); Assert.IsFalse(System.IO.File.Exists(fn)); }