public void NonExistentSourcePath_ThrowsException() { string dest = GetTestFilePath(); File.Create(dest).Dispose(); Assert.Throws<FileNotFoundException>(() => Replace(GetTestFilePath(), dest, null)); }