assertEquals(Long.class, ann1.attribute());
}
public void testAnnotationWithAttributes() throws Exception
{
AbstractAnnotationMetaData annotation = getAnnotation("AnnotationWithAttributes.xml");
Annotation ann = annotation.getAnnotationInstance();
assertEquals(AnnotationWithAttributes.class.getName(), ann.annotationType().getName());
assertTrue(ann instanceof AnnotationWithAttributes);
AnnotationWithAttributes ann1 = (AnnotationWithAttributes)ann;
assertNotNull(ann1.clazz());
assertEquals(Integer.class, ann1.clazz());