public void NoBackup_FileCopiedAndDeleted()
{
string srcPath = GetTestFilePath();
string destPath = GetTestFilePath();
byte[] srcContents = new byte[] { 1, 2, 3, 4, 5 };
File.WriteAllBytes(srcPath, srcContents);
byte[] destContents = new byte[] { 6, 7, 8, 9, 10 };
File.WriteAllBytes(destPath, destContents);
Replace(srcPath, destPath, null);
Assert.False(File.Exists(srcPath));
Assert.Equal(srcContents, File.ReadAllBytes(destPath));
}