ehControl.setMatcher(new AggregateArgumentsMatcher(new ArgumentMatcher[]
{ null, null, null, new TypeMatcher() }));
replayControls();
ModuleDescriptor md = new ModuleDescriptor(getClassResolver(), eh);
md.setModuleId("zip.zoop");
ConfigurationPointDescriptor cpd = new ConfigurationPointDescriptor();
cpd.setId("Fred");
md.addConfigurationPoint(cpd);
ContributionDescriptor cd = new ContributionDescriptor();
cd.setConfigurationId("Fred");
cd.setConditionalExpression("and class foo");
cd.setLocation(location);
cd.addElement(newElement("bar"));
md.addContribution(cd);
XmlModuleDescriptorProcessor processor = new XmlModuleDescriptorProcessor(definition, eh);
processor.processModuleDescriptor(md);
ExtensionResolver extensionResolver = new ExtensionResolver(definition, new StrictErrorHandler());