@Override
      public void memberJoined(ClientMembershipEvent event) {
        System.out.println("[testClientMembershipEventsInServer] memberJoined: " + event);
        fired[JOINED] = true;
        member[JOINED] = event.getMember();
        memberId[JOINED] = event.getMemberId();
        isClient[JOINED] = event.isClient();
        assertFalse(fired[LEFT] || fired[CRASHED]);
      }
Tests notification of events in server process. cache servers detect client joins when the
client connects to the server.
geode-core/src/distributedTest/java/org/apache/geode/cache30/ClientMembershipDUnitTest.java