InvocationHandlerTest test = new InvocationHandlerTest();
server.registerMBean(test, invocationHandlerTestName);
InvocationHandlerTestMBean proxy = (InvocationHandlerTestMBean) MBeanServerInvocationHandler.newProxyInstance(
server, invocationHandlerTestName, InvocationHandlerTestMBean.class, false);
proxy.invokeNoArgsNoReturn();
assertTrue(test.invokeNoArgsNoReturnInvoked);
}
public void testInvokeNoArgs()
throws Exception