EnhancementOperation op = newOp(DeprecatedBean.class);
IComponentSpecification spec = newSpec();
ClassAnnotationEnhancementWorker classWorker = (ClassAnnotationEnhancementWorker) newMock(ClassAnnotationEnhancementWorker.class);
DescribedLocation location = newClassLocation(
resolver,
DeprecatedBean.class,
Deprecated.class);
classWorker.performEnhancement(op, spec, DeprecatedBean.class, location);