ClassResolver cr = new DefaultClassResolver();
MockControl specc = newControl(IComponentSpecification.class);
IComponentSpecification spec = (IComponentSpecification) specc.getMock();
MockControl cfc = newControl(ClassFactory.class);
ClassFactory cf = (ClassFactory) cfc.getMock();
MockControl fabc = newControl(ClassFab.class);
ClassFab fab = (ClassFab) fabc.getMock();
fab.addInterface(PageDetachListener.class);
cf.newClass("$BaseComponent_97", BaseComponent.class);
cfc.setReturnValue(fab);
replayControls();
EnhancementOperationImpl eo = new EnhancementOperationImpl(cr, spec, BaseComponent.class,