new FakeTemplateLibraryFactory(),
new FakeContainerConfig());
}
private static TagHandler testTagHandler(String name, final String content) {
return new AbstractTagHandler("#my", name) {
public void process(Node result, Element tag, TemplateProcessor processor) {
result.appendChild(result.getOwnerDocument().createTextNode(content));
}
};
}