addNodeInfo(sh(2), node2Address);
addNodeInfo(sh(3), node3Address);
addNodeInfo(sh(4), node4Address);
serverComm = mock(ServerComm.class);
channel = mock(DatagramChannel.class, new ClonesArguments()); // we must clone the arguments because the message packet keeps changing
receiver = mock(MessageReceiver.class);
comm = new UDPComm("comm", cluster, serverComm, PORT);
comm.setChannel(channel);
comm.setReceiver(receiver);