new MethodSignature(int.class, "getValue", null, null),
"return 1;");
mf.extend("return 2 * $_;", false);
Object bean = cf.createClass().newInstance();
assertEquals(new Integer(2), PropertyUtils.read(bean, "value"));
}
public void testExtendMethodAlterReturn() throws Exception