public async Task ReadWriteTextFiles()
        {
            string fromFile = @"C:\Тест1\1.txt";
            string toFile   = @"C:\Тест1\2.txt";
            var    file     = new ReadTextFile();
            IDictionary <string, int> dictionary = await file.ParseTextAsync(fromFile, ReadTextFile.ParamSortDic.ValueDesc);

            var textFormatting = file.TextFormatting(dictionary);
            var writeTextFile  = new WriteTextFile();
            await writeTextFile.WriteAsync(toFile, textFormatting);
        }
 public async Task WriteAsync_must_return_error_if_empty_fileName_and_content()
 {
     var file = new WriteTextFile();
     await file.WriteAsync(string.Empty, string.Empty);
 }