@Override
    public void run() {
      Region pr = PartitionedRegionTestHelper.getExistingRegion(SEPARATOR + regionName);
      assertNotNull(pr);
      List list = new ArrayList();
      list = (ArrayList) thread2List.get(getName());

      for (final Object listObj : list) {
        try {
          Object retObj = pr.get(listObj);
          assertNotNull(retObj);
          if (!listObj.equals(retObj)) {
            fail(
                "PRSerializableObjectJUniTest:getThread() Object from the region is not equal to Object from the list");
          }
        } catch (Exception ex) {
          fail("PRSerializableObjectJUniTest:getThread() failed ");
        }
      }
    }
This class creates thread that take list of the objects from thread2List Map and performs get
operation with these objects as key and verifying result with itself because key and values are
same in the partition Region
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/PartitionedRegionSerializableObjectJUnitTest.java