@Test
public void testFieldAnnotations() throws SecurityException, NoSuchFieldException {
ClassReplacer r = new ClassReplacer();
r.queueClassForReplacement(FieldAnnotated.class, FieldAnnotated1.class);
r.replaceQueuedClasses();
Field m1 = FieldAnnotated.class.getField("field1");
Field m2 = FieldAnnotated.class.getField("field2");
Field m3 = FieldAnnotated.class.getField("field3");
Assert.assertEquals("1", m1.getAnnotation(FieldAnnotation.class).value());