@Override
        public void run2() throws CacheException {
          assertEquals(testObjectCnt, TestObject.numInstance.get());
          assertEquals(positionObjectCnt, PositionPdx.numInstance);
          assertEquals(testObjCnt, TestObject2.numInstance.get());

          // Reset the instances
          TestObject.numInstance.set(0);
          PositionPdx.numInstance = 0;
          TestObject2.numInstance.set(0);
        }
Tests function calls in the query.
geode-core/src/distributedTest/java/org/apache/geode/cache/query/dunit/PdxQueryDUnitTest.java