@Test
public void testCopyProptertiesToMap() throws Exception {

    TestBean config = new TestBean();
    config.setAlias("1111aaaa");
    Map<String, Object> map = new HashMap<String, Object>();
    BeanUtils.copyPropertiesToMap(config, "", map);
    Assert.assertTrue(map.size() > 0);
    Assert.assertEquals(map.get("alias"), "1111aaaa");
}