public void ByIdProcedureTest()
        {
            SimpleInit();

            ModalViewModel model = new ModalViewModel(_rootPanel);

            model.FieldInDb     = "idfile";
            model.Type          = "file";
            model.RuDescription = "Поле 3";
            _rootPanel.Children.Add(model);

            model                     = new ModalViewModel(_rootPanel);
            model.FieldInDb           = "Field3";
            model.Type                = ControlTypes.Dictionary;
            model.DictionaryType      = DictionaryTypes.DictionaryTable;
            model.DictionaryTableName = "ter_NP_dic";
            model.RuDescription       = "Поле 4";
            _rootPanel.Children.Add(model);

            _helper.Construct(_properties, TestContext.CurrentContext.TestDirectory + "/../..");
            string tableContent    = File.ReadAllText(TestContext.CurrentContext.TestDirectory + "/../../MainTableById.sql");
            string expectedContent = FormattUtil.Format(File.ReadAllText(TestContext.CurrentContext.TestDirectory + "/../../ProcedureConstructorHelerTest/ByIdProcedureTest.sql"));

            Assert.AreEqual(expectedContent, tableContent);
        }
        public void AddProcedureTest()
        {
            SimpleInit();
            _helper.Construct(_properties, TestContext.CurrentContext.TestDirectory + "/../..");
            string tableContent    = File.ReadAllText(TestContext.CurrentContext.TestDirectory + "/../../MainTableAdd.sql");
            string expectedContent = FormattUtil.Format(File.ReadAllText(TestContext.CurrentContext.TestDirectory + "/../../ProcedureConstructorHelerTest/AddProcedureTest.sql"));

            Assert.AreEqual(expectedContent, tableContent);
        }