}
@Test
public void testAnnotationA() throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchFieldException {
ClassReplacer rep = new ClassReplacer();
rep.queueClassForReplacement(AnnotationC.class, AnnotationC1.class);
rep.replaceQueuedClasses();
AnnotationC ns = new AnnotationC();
Class c = AnnotationC.class;
Assert.assertFalse(ns.getClass().isAnnotationPresent(AnnotationA.class));
Field field = c.getDeclaredField("field");