JDKSourceWireFactory factory = new JDKSourceWireFactory();
factory.setConfiguration(config);
factory.setBusinessInterface(SimpleTarget.class);
factory.initialize();
SimpleTarget instance = (SimpleTarget) factory.createProxy();
Assert.assertEquals("foo",instance.hello("foo"));
}
public void testTargetWireFactory() throws Exception {
TargetInvocationConfiguration source = new TargetInvocationConfiguration(hello);
MockSyncInterceptor sourceInterceptor = new MockSyncInterceptor();