private static RebalanceRegionResult toRebalanceRegionResult(List<String> rstList) {
    RebalanceRegionResultImpl result = new RebalanceRegionResultImpl();
    result.setBucketCreateBytes(Long.parseLong(rstList.get(0)));
    result.setBucketCreateTimeInMilliseconds(Long.parseLong(rstList.get(1)));
    result.setBucketCreatesCompleted(Integer.parseInt(rstList.get(2)));
    result.setBucketTransferBytes(Long.parseLong(rstList.get(3)));
    result.setBucketTransferTimeInMilliseconds(Long.parseLong(rstList.get(4)));
    result.setBucketTransfersCompleted(Integer.parseInt(rstList.get(5)));
    result.setPrimaryTransferTimeInMilliseconds(Long.parseLong(rstList.get(6)));
    result.setPrimaryTransfersCompleted(Integer.parseInt(rstList.get(7)));
    result.setTimeInMilliseconds(Long.parseLong(rstList.get(8)));
    if (rstList.size() < 11) {
      result.setNumOfMembers(-1);
      result.setRegionName(rstList.get(9));
    } else {
      result.setNumOfMembers(Integer.parseInt(rstList.get(9)));
      result.setRegionName(rstList.get(10));
    }


    return result;
  }
This class was introduced so that it can be mocked
to all executeRebalanceOnDS to be unit tested
geode-core/src/main/java/org/apache/geode/management/internal/operation/RebalanceOperationPerformer.java