@Override
  public Serializable getRoutingObject(EntryOperation opDetails) {
    return ((Integer) opDetails.getKey()
        % QueryUsingFunctionContextDUnitTest.numOfBuckets);
  }
This resolver is used in QueryUsingFunctionContextDUnitTest.
geode-core/src/distributedTest/java/org/apache/geode/cache/query/dunit/QueryAPITestPartitionResolver.java