// check we have parsed the plugin configurations
metadata = ((MscManagedProcessEngineController) container.getRequiredService(ServiceNames.forManagedProcessEngine("__test")).getService())
.getProcessEngineMetadata();
List<ProcessEnginePluginXml> pluginConfigurations = metadata.getPluginConfigurations();
ProcessEnginePluginXml processEnginePluginXml = pluginConfigurations.get(0);
assertEquals("org.camunda.bpm.identity.impl.ldap.plugin.LdapIdentityProviderPlugin", processEnginePluginXml.getPluginClass());
Map<String, String> processEnginePluginXmlProperties = processEnginePluginXml.getProperties();
assertEquals("abc", processEnginePluginXmlProperties.get("test"));
assertEquals("123", processEnginePluginXmlProperties.get("number"));
assertEquals("true", processEnginePluginXmlProperties.get("bool"));
processEnginePluginXml = pluginConfigurations.get(1);
assertEquals("org.camunda.bpm.identity.impl.ldap.plugin.LdapIdentityProviderPlugin", processEnginePluginXml.getPluginClass());
processEnginePluginXmlProperties = processEnginePluginXml.getProperties();
assertEquals("cba", processEnginePluginXmlProperties.get("test"));
assertEquals("321", processEnginePluginXmlProperties.get("number"));
assertEquals("false", processEnginePluginXmlProperties.get("bool"));
// test correct subsystem removal