public static void Initialize(out WindowsFormsTestApplicationApp application)
        {
            var appsFolderEnvVar = ConfigurationManager.AppSettings.Get("AppsFolderEnvVar");
            var appsFolder       = Environment.GetEnvironmentVariable(appsFolderEnvVar);
            var appPath          = appsFolder + ConfigurationManager.AppSettings.Get("PathToExe");

            application = new WindowsFormsTestApplicationApp(appPath);
            application.Start();
        }
        public static void Cleanup(WindowsFormsTestApplicationApp application)
        {
            var isClosed = application.Close() || application.Kill();

            Assert.IsTrue(isClosed, "Не удалось завершить приложение WindowsFormsTestApplication.");
        }