// should throw
}
}
public void testDirectInvoke() throws Throwable {
InboundInvocationChain source = new InboundInvocationChainImpl(operation);
MockStaticInvoker invoker = new MockStaticInvoker(echo, new SimpleTargetImpl());
source.setTargetInvoker(invoker);
Map<Method, InboundInvocationChain> chains = new HashMap<Method, InboundInvocationChain>();
chains.put(echo, source);
WorkContext workContext = EasyMock.createNiceMock(WorkContext.class);
EasyMock.replay(workContext);