public static OneLaunchContextMock WithExcludedLaunchers(this OneLaunchContextMock context, params string[] excludedLaunchers)
        {
            if (context.UserSettings == null)
            {
                context.UserSettings = new UserSettings();
            }

            context.UserSettings.ExcludedLauncherFilePaths = excludedLaunchers.ToList();

            return(context);
        }
        public static OneLaunchContextMock WithUserSettingsDirectory(this OneLaunchContextMock context, string directory)
        {
            if (context.ApplicationSettings == null)
            {
                context.ApplicationSettings = new ApplicationSettings();
            }

            context.ApplicationSettings.UserSettingsDirectory = directory;

            return(context);
        }
        public static OneLaunchContextMock WithUserSettings(this OneLaunchContextMock context, UserSettings settings)
        {
            context.UserSettings = settings;

            return(context);
        }