}
public void testRuntimeException() throws Exception {
Map<Method, InvocationConfiguration> config = new MethodHashMap<InvocationConfiguration>();
config.put(runtimeMethod, getConfiguration(runtimeMethod));
InvocationHandler handler = new JDKInvocationHandler(new MessageFactoryImpl(), config);
try {
TestBean proxy = (TestBean) Proxy.newProxyInstance(Thread.currentThread().getContextClassLoader(),
new Class[]{TestBean.class}, handler);
proxy.runtimeException();
} catch (TestRuntimeException e) {