public void testCountersWithInstrumentationManager() throws Exception {
// create Client with other bus
Bus bus = BusFactory.getDefaultBus();
CounterRepository cr = bus.getExtension(CounterRepository.class);
InstrumentationManager im = bus.getExtension(InstrumentationManager.class);
assertNotNull(im);
InstrumentationManagerImpl impl = (InstrumentationManagerImpl)im;
assertTrue(impl.isEnabled());
assertNotNull(impl.getMBeanServer());
MBeanServer mbs = im.getMBeanServer();
ObjectName name = new ObjectName(ManagementConstants.DEFAULT_DOMAIN_NAME
+ ":" + ManagementConstants.BUS_ID_PROP
+ "=cxf" + bus.hashCode() + ",*");
SOAPService service = new SOAPService();