JavaMonitor monitor=(JavaMonitor) setup.monitorConfigs[i].monitor;
JavaObject object = monitor.getObject();
assertEquals("Monitor object class unexpected name.",setup.monitorClassName, object.getJavaClass().getName());
JavaField idField = getJavaField(object, "id");
String idString = idField.getString(object);
assertEquals("MonitorClass id strings didn't match.", setup.monitorConfigs[i].id, idString);
}
}