public void testSetCustom()
throws Exception
{
log.info("+++ testSetCustom");
MBeanServerConnection server = getJMXServer();
server.setAttribute(getObjectName(), new Attribute("Custom", new CustomClass("changed")));
CustomClass custom = (CustomClass) server.getAttribute(getObjectName(), "Custom");
assertEquals("changed", custom.getValue());
}