public void testDelegate() throws Exception {
ClassLoader loader = new ContinuationClassLoader(getClass().getClassLoader());
Class clazz = loader.loadClass("org.apache.cocoon.components.flow.java.test.SimpleFlow");
Continuable flow = (Continuable) clazz.newInstance();
Method method = clazz.getMethod("testDelegate", new Class[0]);
Continuation c = new Continuation(method.getName(), context);
assertTrue(!c.isRestoring());