return elem;
}
private Element getBadFilter() {
Element elem = new Element("component", "");
elem.addAttribute(new Attribute("classname", clazz));
Element callback = new Element("requires", "");
callback.addAttribute(new Attribute("field", "fs"));
callback.addAttribute(new Attribute("filter", "(foo=bar)&(bar=foo)")); // Incorrect filter
elem.addElement(callback);
elem.addElement(manipulation);
return elem;
}