public void start(final int numServes, final RSProcedureDispatcher remoteDispatcher)
    throws IOException, KeeperException {
    startProcedureExecutor(remoteDispatcher);
    this.assignmentManager.start();
    for (int i = 0; i < numServes; ++i) {
      ServerName sn = ServerName.valueOf("localhost", 100 + i, 1);
      serverManager.regionServerReport(sn, ServerMetricsBuilder.newBuilder(sn)
        .setLastReportTimestamp(EnvironmentEdgeManager.currentTime()).build());
    }
    this.procedureExecutor.getEnvironment().setEventReady(initialized, true);
  }
A mocked master services. Tries to fake it. May not always work.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/MockMasterServices.java