source.setTargetInvoker(new MockStaticInvoker(hello, new SimpleTargetImpl()));
source.build();
Map<Method, SourceInvocationConfiguration> configs = new MethodHashMap<SourceInvocationConfiguration>();
configs.put(hello, source);
WireSourceConfiguration config = new WireSourceConfiguration("foo",new QualifiedName("foo"), configs, Thread.currentThread()
.getContextClassLoader(), new MessageFactoryImpl());
JDKSourceWireFactory factory = new JDKSourceWireFactory();
factory.setConfiguration(config);
factory.setBusinessInterface(SimpleTarget.class);
factory.initialize();
SimpleTarget instance = (SimpleTarget) factory.createProxy();