@Test
  public void membershipInvokesUpstreamListenerDuringForcedDisconnect() {
    // have an exception interrupt the shutdown process and ensure that a thread is
    // launched to inform the cache of shutdown
    IllegalStateException expectedException = new IllegalStateException();
    doThrow(expectedException).when(services).emergencyClose();
    assertThatThrownBy(() -> manager.uncleanShutdown("For testing",
        new MemberDisconnectedException("For Testing")))
            .isEqualTo(expectedException);
    verify(listener).membershipFailure(isA(String.class), isA(Throwable.class));
  }
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