Proxied tgt = new Proxied();//Load the class before we deploy the xml that will cause weaving
URL url = getURLRelativeToProjectRoot("/src/resources/test/synthetic/manual-aop.xml");
AspectXmlLoader.deployXML(url);
AOPProxyFactoryParameters params = new AOPProxyFactoryParameters();
params.setTarget(tgt);
params.setInterfaces(new Class[] {SomeInterface.class});
params.setMixins(new AOPProxyFactoryMixin[] {new AOPProxyFactoryMixin(Mixin.class, new Class<?>[] {MixinInterface.class})});
GeneratedAOPProxyFactory factory = new GeneratedAOPProxyFactory();
Proxied proxied = (Proxied)factory.createAdvisedProxy(params);
SimpleInterceptor.intercepted = false;
proxied.someMethod();