private Map<Integer, Portfolio> createPortfolioObjects(int numToCreate, int startID) {
    Map<Integer, Portfolio> portfoliosMap = new HashMap<>();
    IntStream.range(0, numToCreate).forEach(e -> {
      Portfolio p = new Portfolio(e + startID);
      p.indexKey = e;
      portfoliosMap.put(p.indexKey, p);
    });
    return portfoliosMap;
  }
we are "indexed" on indexKey. Equality of portfolios is based on ID indexKeys are based on 0 ->
numEntries IDs are startID -> startID + numEntries

@param numToCreate how many portfolios to create
@param startID the ID value to start incrementing from
geode-core/src/test/java/org/apache/geode/cache/query/internal/index/HashIndexSetJUnitTest.java