Map<Method, InboundInvocationChain> chains = new HashMap<Method, InboundInvocationChain>();
MockStaticInvoker invoker = new MockStaticInvoker(echo, new SimpleTargetImpl());
InboundInvocationChain chain = new InboundInvocationChainImpl(operation);
MockSyncInterceptor interceptor = new MockSyncInterceptor();
chain.addInterceptor(interceptor);
chain.addInterceptor(new InvokerInterceptor());
chain.setTargetInvoker(invoker);
chain.prepare();
chains.put(echo, chain);
WorkContext workContext = EasyMock.createNiceMock(WorkContext.class);
EasyMock.replay(workContext);