// check the validity of the additional bundle schema elements
assert descriptor.getBundle().getType().equals("bundle.type.name");
// check the validity of the plugin config definition
ConfigurationDescriptor pluginConfigXml = descriptor.getPluginConfiguration();
assert pluginConfigXml != null : "should have parsed the plugin config";
ConfigurationDefinition configDef = ConfigurationMetadataParser.parse("test", pluginConfigXml);
assert configDef != null : "should have parsed the plugin config properties";
PropertyDefinitionSimple propDef = configDef.getPropertyDefinitionSimple("bundleprop1");
assert propDef != null : "missing a simple property definition";