@Test
  public void testGetByKey() throws Exception {
    int numEntries = 20;
    setupHashIndexSet(numEntries);

    assertEquals(numEntries, his.size());
    his.get(1).forEachRemaining((e -> portfolioSet.remove(e)));
    assertEquals(numEntries - 1, portfolioSet.size());
  }
we have to be sure that we dont cause a compaction or growth or else removed tokens will be
removed and a new backing array created
geode-core/src/test/java/org/apache/geode/cache/query/internal/index/HashIndexSetJUnitTest.java