// Check invocation
Object returned = conn.invoke(mbeanName, "unknownReturnValue", new Object[0], new String[0]);
if (!returned.getClass().getName().equals(Unknown.class.getName())) fail();
returned = server.invoke(mbeanName, "unknownReturnValue", new Object[0], new String[0]);
if (!returned.getClass().getName().equals(Unknown.class.getName())) fail();
Object remoteUnk = conn.invoke(mbeanName, "unknownArgument", new Object[]{new Unknown()}, new String[]{Unknown.class.getName()});
Object localUnk = server.invoke(mbeanName, "unknownArgument", new Object[]{new Unknown()}, new String[]{Unknown.class.getName()});
assertEquals(remoteUnk, localUnk);
}