{
AbstractAnnotationMetaData annotation = getAnnotation("AnnotationWithAttribute.xml");
Annotation ann = annotation.getAnnotationInstance();
assertEquals(AnnotationWithAttribute.class.getName(), ann.annotationType().getName());
assertTrue(ann instanceof AnnotationWithAttribute);
AnnotationWithAttribute ann1 = (AnnotationWithAttribute)ann;
assertNotNull(ann1.attribute());
assertEquals(Long.class, ann1.attribute());
}