assertEquals(Interceptions.getFieldWriteName("MyInterceptor", "POJO", "i"), Interceptions.get(0));
assertEquals(Interceptions.getFieldReadName("MyInterceptor", "POJO", "i"), Interceptions.get(1));
AdviceBinding binding3 = new AdviceBinding("field(* org.jboss.test.aop.dynamicgenadvisor.POJO->i)", null);
String name3 = binding3.getName();
AspectDefinition myAspect = AspectManager.instance().getAspectDefinition("org.jboss.test.aop.dynamicgenadvisor.MyAspect");
binding3.addInterceptorFactory(new AdviceFactory(myAspect, "intercept"));
binding3.addInterceptor(MyInterceptor.class);
AspectManager.instance().addBinding(binding3);
Interceptions.clear();