@Override
    public void joinedCluster() {
        ClusterManager.getNodesInfo().forEach(nodeName -> nodeNames.put(nodeName.getNodeID(), nodeName.getHostName()));
        LOGGER.info("This node ({}/{}) has joined the cluster [seniorMember={}]", xmppServer.getNodeID(), xmppServer.getServerInfo().getHostname(), getSeniorMember());
    }
@Test
    public void whenAnotherNodeJoinsTheClusterNothingWillBeSent() {

        clusterMonitor.joinedCluster(OTHER_NODE_ID);

        verify(xmppServer, never()).sendMessageToAdmins(any());
    }