@Override
      public boolean evaluate() throws Exception {
        for (ObjectName name : ManagementFactory.getPlatformMBeanServer()
          .queryNames(new ObjectName("*:*"), null)) {
          if (name.toString().contains(expectedAuthorizedContent)) {
            LOG.info("{}", name);
            return true;
          }
        }
        return false;
      }
Helper method to shut down the cluster (if running)
hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java