@Test
  public void testPartialIDInMessageReplacedWithFullID() throws Exception {
    InternalDistributedMember partialID = connectAndSetUpPartialID();

    HighPriorityAckedMessage message = new HighPriorityAckedMessage();
    message.setSender(partialID);

    Distribution manager =
        MembershipManagerHelper.getDistribution(basicGetSystem());
    ((GMSMembership) manager.getMembership()).replacePartialIdentifierInMessage(message);

    assertFalse(message.getSender().isPartial());
  }
GEODE-3043 surprise member added when member is already in the cluster

This test ensures that the membership manager can detect and replace a partial ID with one that
is not partial
geode-core/src/distributedTest/java/org/apache/geode/distributed/DistributedMemberDUnitTest.java