}
public void test_xsl_bind(String config) throws SAXException, IOException {
Smooks smooks = new Smooks(getClass().getResourceAsStream(config));
StringReader input;
ExecutionContext context;
input = new StringReader("<a><b><c/></b></a>");
context = smooks.createExecutionContext();
smooks.filterSource(context, new StreamSource(input), null);
assertEquals("<bind/>", context.getBeanContext().getBean("mybeanTemplate"));
input = new StringReader("<c/>");
context = smooks.createExecutionContext();
smooks.filterSource(context, new StreamSource(input), null);
assertEquals("<bind/>", context.getBeanContext().getBean("mybeanTemplate"));
}