super(name);
}
public void testAnnotationsInProxy() throws Exception
{
AnnotatedBean bean = (AnnotatedBean)getBean("Bean");
assertTrue(bean instanceof AspectManaged);
org.jboss.test.microcontainer.support.Test test = bean.getClass().getAnnotation(org.jboss.test.microcontainer.support.Test.class);
assertNotNull(test);
Method method = bean.getClass().getMethod("method");
test = method.getAnnotation(org.jboss.test.microcontainer.support.Test.class);
assertNotNull(test);
}