public void testSourceWireFactory() throws Exception {
SourceInvocationConfiguration source = new SourceInvocationConfiguration(hello);
MockSyncInterceptor sourceInterceptor = new MockSyncInterceptor();
source.addInterceptor(sourceInterceptor);
source.setTargetInterceptor(new InvokerInterceptor());
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()