@Test
public void testJdkProxyObjectFail() {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
ctx.register(BarImpl.class, APC_Config.class);
ctx.refresh();
Bar bean = ctx.getBean(Bar.class);
Assert.assertTrue(AopUtils.isJdkDynamicProxy(bean));
Assert.assertEquals(1, bean.getValueCounter());
ctx.getBeanFactory().autowireBeanProperties(unwrapAopProxyIfNecessary(bean), AUTOWIRE_BY_NAME, false);