public void testShouldUseApplicationContextToApplyAspectsToGeneratedBeans() throws Exception {
sac.registerSingleton("debugInterceptor", DebugInterceptor.class, new MutablePropertyValues());
MutablePropertyValues values = new MutablePropertyValues();
values.addPropertyValue("beanNames", new String[]{"*Action"});
values.addPropertyValue("interceptorNames", new String[]{"debugInterceptor"});
sac.registerSingleton("proxyFactory", BeanNameAutoProxyCreator.class, values);
sac.refresh();
ActionConfig actionConfig = new ActionConfig.Builder("", "", SimpleAction.class.getName()).build();