@Override
    public int compareTo(DistributedMember o) {
      if ((o == null) || !(o instanceof TestDistributedMember)) {
        throw new InternalGemFireException("Invalidly comparing TestDistributedMember to " + o);
      }

      TestDistributedMember tds = (TestDistributedMember) o;
      return getHost().compareTo(tds.getHost());
    }
Tests getConnectedClients(boolean onlyClientsNotifiedByThisServer) where
onlyClientsNotifiedByThisServer is true.
geode-core/src/distributedTest/java/org/apache/geode/cache30/ClientMembershipDUnitTest.java