public static void injectEdgeForPackage(EnvironmentEdge edge, String packageName) {
    injectEdge(new PackageEnvironmentEdgeWrapper(edge, packageName));
  }
Inject a {@link EnvironmentEdge} which only takes effect when calling directly from the classes
in the given package.
hbase-common/src/test/java/org/apache/hadoop/hbase/util/EnvironmentEdgeManagerTestHelper.java