private AsyncRegionServerAdmin getRsAdmin() {
      return master.getAsyncClusterConnection().getRegionServerAdmin(getServerName());
    }
Test implementation of RSProcedureDispatcher that throws desired errors for testing purpose.
hbase-server/src/test/java/org/apache/hadoop/hbase/util/RSProcDispatcher.java