private void executeFunctions(Region<Object, Object> region) {
    TypedFunctionService.onRegion(region)
        .withFilter(filter(0))
        .execute(new PutFunction())
        .getResult();

    TypedFunctionService.onRegion(region)
        .withFilter(filter(0, 1))
        .execute(new PutFunction())
        .getResult();

    TypedFunctionService.onRegion(region)
        .withFilter(filter(0, 1, 2, 3))
        .execute(new PutFunction())
        .getResult();

    TypedFunctionService.onRegion(region)
        .execute(new PutFunction())
        .getResult();
  }
2 servers, 2 clients.One client to one server. Put from c1 to s1. Now put from c2. So since
there will be a hop at least once, fetchservice has to be triggered. Now put again from
c2.There should be no hop at all.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PartitionedRegionSingleHopDUnitTest.java