/// <summary>
        /// A private method that exists for the sake of convenience. Adds a new user configuration in the database and returns it's id.
        /// </summary>
        /// <returns>The id of the latest newly added configuration.</returns>
        private int ConfigurationMenu()
        {
            Configuration config = Configure();

            configurationDatabaseFunctions.MakeNewConfiguration(config);
            return(configurationDatabaseFunctions.ShowAll().Last().Id);
        }
        public void DoesItUpdateConfiguration()
        {
            Configuration original_config = new Configuration();

            original_config.BackgroundColour = ConsoleColor.Black;
            original_config.TextColour       = ConsoleColor.White;
            configurationDatabaseFunctions.MakeNewConfiguration(original_config);
            Configuration new_config = new Configuration();

            new_config.BackgroundColour = ConsoleColor.Yellow;
            new_config.TextColour       = ConsoleColor.Black;
            new_config.Id = configurationDatabaseFunctions.ShowAll().Last().Id;
            configurationDatabaseFunctions.ChangeConfiguration(new_config);
            Assert.AreEqual(new_config.Id, configurationDatabaseFunctions.ShowAll().Last().Id);
        }