Configurer configurer = new ConfigurerImpl();
bus.getExtension(Configurer.class);
EasyMock.expectLastCall().andReturn(configurer).anyTimes();
InstrumentationManager iManager = control.createMock(InstrumentationManager.class);
iManager.getMBeanServer();
EasyMock.expectLastCall().andReturn(ManagementFactory.getPlatformMBeanServer()).anyTimes();
bus.getExtension(InstrumentationManager.class);
EasyMock.expectLastCall().andReturn(iManager).anyTimes();