System.IO.Tests.File_Replace_str_str_str.NonExistentDestPath_ThrowsException C# (CSharp) Method

NonExistentDestPath_ThrowsException() private method

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