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