}
public void testCheckedException() throws Exception {
Map<Method, InboundInvocationChain> chains = new HashMap<Method, InboundInvocationChain>();
chains.put(checkedMethod, createChain(checkedMethod, checkedOperation));
WorkContext workContext = EasyMock.createNiceMock(WorkContext.class);
EasyMock.replay(workContext);
JDKInboundInvocationHandler handler = new JDKInboundInvocationHandler(chains, workContext);
try {
InboundInvocationErrorTestCase.TestBean proxy = (InboundInvocationErrorTestCase.TestBean) Proxy
.newProxyInstance(Thread.currentThread().getContextClassLoader(),