public void testNoManipulationMetadata() {
Element elem = new Element("component", "");
elem.addAttribute(new Attribute("classname", "org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService"));
try {
ComponentFactory fact = new ComponentFactory(getContext(), elem);
fact.stop();
fail("A factory with no manipulation metadata must be rejected");
} catch (ConfigurationException e) {
// OK.
}
}