checkMetaDataCycle(sf, f, fi);
}
protected void checkAnnotationCycle(Signature signature, Member member, MemberInfo memberInfo) throws Exception
{
TestAnnotation annotation = new TestAnnotationImpl();
ComponentMutableMetaData[] array = getArray();
for(ComponentMutableMetaData cmmd : array)
{
assertNull(cmmd.addAnnotation(signature, annotation));
assertSame(annotation, cmmd.removeAnnotation(member, annotation.annotationType()));
assertNull(cmmd.addAnnotation(memberInfo, annotation));
assertSame(annotation, cmmd.removeAnnotation(signature, annotation.annotationType()));
}
}