public void testMoreInstrumentation() throws BusException {
//im.getAllInstrumentation();
WorkQueueManagerImpl wqm = new WorkQueueManagerImpl(bus);
bus.sendEvent(new ComponentCreatedEvent(wqm));
JMSClientTransport jct =
EasyMock.createMock(JMSClientTransport.class);
bus.sendEvent(new ComponentCreatedEvent(jct));
HTTPClientTransport hct =
EasyMock.createMock(HTTPClientTransport.class);
bus.sendEvent(new ComponentCreatedEvent(hct));
// TODO should test for the im getInstrumentation
List<Instrumentation> list = im.getAllInstrumentation();
assertEquals("Too many instrumented items", 5, list.size());
// sleep for the MBServer connector thread startup