assertEquals("MyInterceptor", id2.getFactoryServiceId());
}
public void testConfigurationPointSchema() throws Exception
{
ModuleDescriptor md = parse("GenericModule.xml");
List l = md.getConfigurationPoints();
assertEquals(1, l.size());
ConfigurationPointDescriptor cpd = (ConfigurationPointDescriptor) l.get(0);
String schemaId = cpd.getContributionsSchemaId();
assertEquals("Fool", schemaId);
Schema schema = md.getSchema(schemaId);
assertNotNull(schema.getLocation());
l = schema.getElementModel();
assertEquals(2, l.size());