ClusterLinkImpl implements ClusterLink { @Override public void sendMulticastMessage(Message message, Priority priority) { ClusterChannel clusterChannel = getChannel(priority); clusterChannel.sendMulticastMessage(message); }  @Override boolean isEnabled(); @Override void sendMulticastMessage(Message message, Priority priority); @Override void sendUnicastMessage(
		Address address, Message message, Priority priority);  }
@Test public void testSendMulticastMessage() { ClusterLinkImpl clusterLinkImpl = getClusterLinkImpl(1); List<Serializable> multicastMessages = TestClusterChannel.getMulticastMessages(); List<ObjectValuePair<Serializable, Address>> unicastMessages = TestClusterChannel.getUnicastMessages(); Assert.assertTrue( multicastMessages.toString(), multicastMessages.isEmpty()); Assert.assertTrue( unicastMessages.toString(), unicastMessages.isEmpty()); Message message = new Message(); clusterLinkImpl.sendMulticastMessage(message, Priority.LEVEL1); Assert.assertEquals( multicastMessages.toString(), 1, multicastMessages.size()); Assert.assertTrue( multicastMessages.toString(), multicastMessages.contains(message)); Assert.assertTrue( unicastMessages.toString(), unicastMessages.isEmpty()); }