SCM expectedScm = plugin.getSCM();
// Persisting data
mockStatic(SaveableListener.class);
doNothing().when(SaveableListener.class); SaveableListener.fireOnChange((Saveable)notNull(), (XmlFile)notNull());
plugin.save();
// Then reloading it...
PluginUtil.loadPlugin(plugin);
// Verifying repositoryUrl & SCM