public static TestApplication RunWinApplication(this IApplicationAdapter adapter, string fileName, int port = 4100)
        {
            var testApplication = EasyTestWinApplication.New(fileName, port);

            adapter.RunApplication(testApplication, null);
            return(testApplication);
        }
        public static TestApplication RunWinApplication(this IApplicationAdapter adapter, string fileName, string connectionString)
        {
            foreach (var file in Directory.GetFiles($"{Path.GetDirectoryName(fileName)}", "Model.User.xafml"))
            {
                File.Delete(file);
            }
            var testApplication = EasyTestWinApplication.New(fileName);

            testApplication.ConfigSettings(connectionString);
            adapter.RunApplication(testApplication, null);
            return(testApplication);
        }