assertEquals("No Endpoint", 0, ((String[])o).length);
RMEndpoint rme = createTestRMEndpoint();
ObjectName endpointName = RMUtils.getManagedObjectName(rme);
mbset = mbs.queryMBeans(endpointName, null);
assertEquals("ManagedRMEndpoint should be found", 1, mbset.size());
o = mbs.invoke(managerName, "getEndpointIdentifiers", null, null);
assertEquals("One Endpoint", 1, ((String[])o).length);
assertEquals("Endpoint identifier must match",