public void test_setClassPath() throws IOException, SAXException {
Smooks smooks = new Smooks(getClass().getResourceAsStream("test_setClassLoader_01.xml"));
ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
TestClassLoader classLoader = new TestClassLoader(contextClassLoader);
StringResult result = new StringResult();
smooks.setClassLoader(classLoader);
ExecutionContext execCtx = smooks.createExecutionContext();
assertTrue(classLoader.requests.contains(JavaContentHandlerFactory.class.getName()));
assertTrue(contextClassLoader == Thread.currentThread().getContextClassLoader());
classLoader.requests.clear();
smooks.filterSource(execCtx, new StringSource("<a/>"), result);
assertEquals("<b></b>", result.getResult());
//assertTrue(classLoader.requests.contains(XIncludeParserConfiguration.class.getName()));
assertTrue(contextClassLoader == Thread.currentThread().getContextClassLoader());
}