private static void setUpNotDeserializableDataForRegion(String regionPath) {
    Region<Integer, FailsSerializationFilter> region = getRegion(regionPath);

    for (int index = 0; index < 10; index++) {
      region.put(index, new FailsSerializationFilter(index));
    }
  }
Override to specify the mechanism used to connect to the Locator.
geode-dunit/src/main/java/org/apache/geode/management/internal/cli/commands/QueryCommandDistributedTestBase.java