public void testGetID() throws Exception {
Set foundSet = new HashSet(SetupJavaMonitor_ObjectMonitors.NUM_MONITORS);
for (int i=0; i < SetupJavaMonitor_ObjectMonitors.NUM_MONITORS; i++){
JavaMonitor monitor=(JavaMonitor) setup.monitorConfigs[i].monitor;
ImagePointer id = monitor.getID();
assertNotNull("Found null monitor id for " + setup.monitorConfigs[i].id, id);
assertFalse("Found duplicate monitor id. " + setup.monitorConfigs[i].id, foundSet.contains(id));