ObjectName name = JMXUtils.getObjectName(im.getInstrumentationName(),
im.getUniqueInstrumentationName(),
BUS_ID);
im.setName("John Smith");
manager.processEvent(new InstrumentationCreatedEvent(im));
try {
Object val = manager.getMBeanServer().getAttribute(name, NAME_ATTRIBUTE);
assertEquals("Incorrect result", "John Smith", val);
Thread.sleep(300);