AnnotationParser processor = new AnnotationParser();
processor.processClass(ResourceA.class);
InjectionCollection injections = new InjectionCollection();
LifeCycleCallbackCollection callbacks = new LifeCycleCallbackCollection();
RunAsCollection runAses = new RunAsCollection();
AnnotationCollection collection = processor.processClass(ResourceB.class);
assertEquals(1, collection.getClasses().size());
assertEquals(3, collection.getMethods().size());