private void verifyRegionAssignment(FavoredNodesPlan plan, int regionMovementNum,
    int numRegionsOnPrimaryRS) throws InterruptedException, IOException {
    // Verify the assignment plan in hbase:meta is consistent with the expected plan.
    verifyMETAUpdated(plan);

    // Verify the number of region movement is expected
    verifyRegionMovementNum(regionMovementNum);

    // Verify the number of regions is assigned to the primary region server
    // based on the plan is expected
    verifyRegionOnPrimaryRS(numRegionsOnPrimaryRS);

    // Verify all the online region server are updated with the assignment plan
    verifyRegionServerUpdated(plan);
  }
To verify the region assignment status. It will check the assignment plan consistency between
hbase:meta and region servers. Also it will verify weather the number of region movement and
the number regions on the primary region server are expected
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRegionPlacement.java