for (InboundInvocationChain chain : wire.getInvocationChains().values()) {
chain.setTargetInvoker(component.createTargetInvoker(null, chain.getOperation()));
}
component.addInboundWire(wire);
Greeting greeting = (Greeting) component.getServiceInstance("Greeting");
assertEquals("foo", greeting.greet("foo"));
}
protected void setUp() throws Exception {
super.setUp();
GroovyClassLoader cl = new GroovyClassLoader(getClass().getClassLoader());