public void FileDeserializationClient_EmptyString()
        {
            var client = new FileDeserializationClient();
            var result = client.Run("test", string.Empty);

            Assert.IsNull(result);
        }
        public void FileDeserializationClient_NonFormattedString()
        {
            var    client = new FileDeserializationClient();
            string result = client.Run("test", "OrdinaryString").ToString();

            string etalon = "csv";

            Assert.AreEqual(etalon, result);
        }
        public void FileDeserializationClient_Json()
        {
            var    client = new FileDeserializationClient();
            string result = client.Run("test", json).ToString();

            string etalon = "json";

            Assert.AreEqual(etalon, result);
        }
        public void FileDeserializationClient_Csv()
        {
            var    client = new FileDeserializationClient();
            string result = client.Run("test", csv).ToString();

            string etalon = "csv";

            Assert.AreEqual(etalon, result);
        }
        static void Main(string[] args)
        {
            var files = new Dictionary <string, string>();

            PrepareFiles(args, files);

            FileDeserializationClient client = new FileDeserializationClient();

            foreach (var file in files)
            {
                client.Run(file.Key, file.Value);
            }
        }