MBeanServerProducer { @Produces public MBeanServer mBeanServer() { return getPlatformMBeanServer(); }  @Produces MBeanServer mBeanServer();  }
@Test public void shouldCreateAnMBeanServer() throws Exception { final MBeanServer mBeanServer = mBeanServerProducer.mBeanServer(); assertThat(mBeanServer, is(notNullValue())); }