@Test
public void mbeanServers() throws MBeanException, IOException, ReflectionException, MalformedObjectNameException {

    checkMBeans(new ObjectName("java.lang:type=Memory"));
    String info = handler.mBeanServersInfo();
    assertTrue(info.contains("Platform MBeanServer"));
    assertTrue(info.contains("type=Memory"));
}