public void testInvokeUnexposedMethodWithException() throws Exception {
if (!runTests)
return;
IJmxTestBean bean = getProxy();
try {
bean.dontExposeMe();
fail("Method dontExposeMe should throw an exception");
} catch (InvalidInvocationException desired) {
// success
}
}