public boolean getRpcStubCreatedFlag() {
      return rpcStubCreatedFlag;
    }
Tests region sever reportForDuty with a non-default environment edge
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerReportForDuty.java