@Test
  public void testFinalCheckPassedMessageCanBeSerializedAndDeserialized()
      throws IOException, ClassNotFoundException {
    BufferDataOutputStream BufferDataOutputStream =
        new BufferDataOutputStream(500, KnownVersion.CURRENT);
    FinalCheckPassedMessage message =
        new FinalCheckPassedMessage(mockMembers.get(0), mockMembers.get(1));
    dsfidSerializer.getObjectSerializer().writeObject(message, BufferDataOutputStream);
    ByteArrayInputStream byteArrayInputStream =
        new ByteArrayInputStream(BufferDataOutputStream.toByteArray());
    DataInputStream dataInputStream = new DataInputStream(byteArrayInputStream);
    message = dsfidSerializer.getObjectDeserializer().readObject(dataInputStream);
    assertEquals(mockMembers.get(1), message.getSuspect());
  }
Send remove member message after doing final check for coordinator, ping timeout This test
trying to remove coordinator
geode-membership/src/integrationTest/java/org/apache/geode/distributed/internal/membership/gms/fd/GMSHealthMonitorJUnitTest.java