public void testSetCustom()
throws Exception
{
log.info("+++ testSetCustom");
RMIAdaptor server = (RMIAdaptor) getInitialContext().lookup("jmx/invoker/RMIAdaptor");
server.setAttribute(getObjectName(), new Attribute("Custom", new CustomClass("changed")));
CustomClass custom = (CustomClass) server.getAttribute(getObjectName(), "Custom");
assertEquals("changed", custom.getValue());
}