ModuleDescriptor md = parse("DuplicateSchemas.xml");
assertLoggedMessagePattern("Multiple contributions schemas specified for configuration MyConfiguration. Using locally defined schema \\(at ");
ConfigurationPointDescriptor cpd = (ConfigurationPointDescriptor) md
.getConfigurationPoints().get(0);
Schema nestedSchema = cpd.getContributionsSchema();
assertNotNull(nestedSchema);
ElementModel em = (ElementModel) nestedSchema.getElementModel().get(0);