}
public void test_factory_alias() throws IOException, SAXException {
Smooks smooks = new Smooks(getClass().getResourceAsStream("test_bean_14.xml"));
JavaResult result = new JavaResult();
ExecutionContext execContext = smooks.createExecutionContext();
//execContext.setEventListener(new HtmlReportGenerator("target/report.html"));
smooks.filterSource(execContext, new StreamSource(getInput("order-01.xml")), result);
Map<?, ?> order1 = (Map<?, ?>) result.getBean("default_order");
Map<?, ?> order2 = (Map<?, ?>) result.getBean("mvel_order");
Map<?, ?> order3 = (Map<?, ?>) result.getBean("mvel_class_order");
Map<?, ?> order4 = (Map<?, ?>) result.getBean("basic_order");
assertTrue(order1 instanceof HashMap);
assertTrue(order2 instanceof HashMap);
assertTrue(order3 instanceof HashMap);
assertTrue(order4 instanceof HashMap);