@Test
  public void testSimpleValues() {
    ObjIdMap map = new ObjIdMap();
    for (int i = 0; i < 20; i++) {
      map.put(i, i);
    }

    Object[] values = map.values();
    assertEquals(20, values.length);
    for (int i = 0; i < 20; i++) {
      boolean found = false;
      for (final Object value : values) {
        if (value.equals(i)) {
          found = true;
          break;
        }
      }

      assertTrue("Didn't find " + i, found);
    }
  }
This class tests the functionality of the {@link ObjIdMap} class.
geode-core/src/test/java/org/apache/geode/internal/ObjIdMapJUnitTest.java