@Test
public void testMemberChangeEventLogging() {

    ClusterMembershipRevision<ClusterMember> revision = clusterMemberRegistrationRevision(activeClusterMember("local"));
    String value = ClusterMembershipTransactionLogger.doFormat(ClusterMembershipEvent.memberAddedEvent(revision));
    assertThat(value).isEqualTo("eventType=[membership] memberId=local active=true  registered=true  enabled=true memberRevision=0        leadershipState=n/a        leadershipRevision=n/a");
}