/**
  * Method for when testing. Restore all the current version settings from a variable
  * @static
  * @param $settings array - An array as returned by ::dump_version_settings
  * @return void
  */
 public static function restore_settings($settings)
 {
     self::$notice_level = $settings['level'];
     self::$version = $settings['version'];
     self::$module_version_overrides = $settings['moduleVersions'];
 }