@Test public void testReplacedMethod() throws Exception { MethodReplacerRawBean methodReplacerRawBean = getBean(MethodReplacerRawBean.class); System.out.println(PrintUtil.formatTestResult( methodReplacerRawBean.replacedMethod("original string parameter"))); }
public String replacedMethod(String string) { System.out.println("Parameter " + string + " will be replaced!"); return "This method return will be replaced possibly!"; }
MethodReplacerRawBean { public String replacedMethod(String string) { System.out.println("Parameter " + string + " will be replaced!"); return "This method return will be replaced possibly!"; } }
MethodReplacerRawBean { public String replacedMethod(String string) { System.out.println("Parameter " + string + " will be replaced!"); return "This method return will be replaced possibly!"; }  }
MethodReplacerRawBean { public String replacedMethod(String string) { System.out.println("Parameter " + string + " will be replaced!"); return "This method return will be replaced possibly!"; }  String replacedMethod(String string); @Override String toString(); }
MethodReplacerRawBean { public String replacedMethod(String string) { System.out.println("Parameter " + string + " will be replaced!"); return "This method return will be replaced possibly!"; }  String replacedMethod(String string); @Override String toString();  }