OpenType itemType = type.getType(name);
try
{
Method method = MXBeanUtils.getCompositeDataMethod(clazz, name, itemType == SimpleType.BOOLEAN);
Object expectedValue = method.invoke(expected, null);
Object actualValue = handler.invoke(actual, method, null);
assertEquals(expectedValue, actualValue);
}
catch (RuntimeException e)
{
throw e;