private static List<AccessController> getAccessControllers(SingleProcessHBaseCluster cluster) {
    List<AccessController> result = Lists.newArrayList();
    for (RegionServerThread t : cluster.getLiveRegionServerThreads()) {
      for (HRegion region : t.getRegionServer().getOnlineRegionsLocalContext()) {
        Coprocessor cp = region.getCoprocessorHost().findCoprocessor(AccessController.class);
        if (cp != null) {
          result.add((AccessController) cp);
        }
      }
    }
    return result;
  }
This passes only in case of ADE for all actions.
hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/SecureTestUtil.java