@Test
public void execute_genericMethod_resolveBase() throws Exception
{
Arg[] args=new Arg[1];
args[0]=new KeyArg("arg0");
Invoke invoke=new Invoke(null, new ObjectResolver(new SubSubSubGenericResolverImpl()), "resolveBase", args, "result");
Map<String, Object> src=new HashMap<String, Object>();
src.put("id", 1);
src.put("name", "generic");
src.put("age", 5);
ObjectSource os=new HashMapObjectSource(new DefaultGenericConverter());
os.set("arg0", src);
invoke.execute(os);
JavaBeanSub re=os.get("result");
Assert.assertEquals(1, re.getId().intValue());
Assert.assertEquals("generic", re.getName());