@Test
  public void testAddressesWithoutUUIDs() throws Exception {
    manager.getGMSManager().start();
    manager.getGMSManager().started();
    manager.isJoining = true;

    List<MemberIdentifier> viewMembers =
        Arrays.asList(mockMembers[0], mockMembers[1], myMemberId);
    GMSMembershipView view = createView(myMemberId, 2, viewMembers);
    manager.getGMSManager().installView(view);
    when(services.getJoinLeave().getView()).thenReturn(view);

    MemberIdentifier[] destinations = new MemberIdentifier[viewMembers.size()];
    for (int i = 0; i < destinations.length; i++) {
      MemberIdentifier id = viewMembers.get(i);
      destinations[i] = createMemberID(id.getMembershipPort());
    }
    manager.checkAddressesForUUIDs(destinations);
    // each destination w/o a UUID should have been replaced with the corresponding
    // ID from the membership view
    for (final MemberIdentifier destination : destinations) {
      assertTrue(destination.hasUUID());
    }
  }
This test ensures that the membership manager can accept an ID that does not have a UUID and
replace it with one that does have a UUID from the current membership view.
geode-membership/src/integrationTest/java/org/apache/geode/distributed/internal/membership/gms/GMSMembershipJUnitTest.java