EasyMock.replay(parent);
// create the inbound wire and chain for the source service
InboundInvocationChain inboundChain = EasyMock.createMock(InboundInvocationChain.class);
EasyMock.expect(inboundChain.getOperation()).andReturn(operation).atLeastOnce();
inboundChain.addInterceptor(EasyMock.isA(SynchronousBridgingInterceptor.class));
inboundChain.setTargetInvoker(null);
EasyMock.replay(inboundChain);
Map<Operation<?>, InboundInvocationChain> inboundChains = new HashMap<Operation<?>, InboundInvocationChain>();
inboundChains.put(operation, inboundChain);
InboundWire inboundWire = EasyMock.createMock(InboundWire.class);