@Override
      public void memberJoined(ClientMembershipEvent event) {
        assertFalse(fired[JOINED]);
        assertNull(member[JOINED]);
        assertNull(memberId[JOINED]);
        assertFalse(isClient[JOINED]);
        fired[JOINED] = true;
        member[JOINED] = event.getMember();
        memberId[JOINED] = event.getMemberId();
        isClient[JOINED] = event.isClient();
      }
Tests registration and event notification in conjunction with disconnecting and reconnecting to
DistributedSystem.
geode-core/src/distributedTest/java/org/apache/geode/cache30/ClientMembershipDUnitTest.java