};
ResolverObjectFactory rof=new DefaultResolverObjectFactory();
rof.addResolverObject("dynamicResolver", new TestResolver());
Resolver rp=new DynamicResolver(null, new ObjectSourceResolver("dynamicResolver"));
Invoke invoke=new Invoke("test", rp, "test1", args, RESULT_KEY);
ObjectSource os=new HashMapObjectSource(new DefaultGenericConverter());
os.set("dynamicResolver", new TestResolver());