@Test
public void copyByMethod() {

    Abean bean = new Abean();
    bean.setFooProp("ggg");
    Abean acopied = new Abean();
    BeanCopy.copyByMethod(bean, acopied);
    Assert.assertEquals("ggg", acopied.getFooProp());
    Cbean src = new Cbean();
    src.setS2("11111");
    src.setS3("aaaaa");
    Cbean dest = new Cbean();
    BeanCopy.copyByMethod(src, dest);
    Assert.assertEquals("aaaaa", dest.getS3());
    logger.info(dest);
}