@SuppressWarnings("unchecked")
public MessageOut handleMessage(MessageOut message, int id, InetAddress to)
{
if (message.verb == MessagingService.Verb.REPAIR_MESSAGE)
{
RepairMessage m = (RepairMessage) message.payload;
assertEquals(RepairMessage.Type.SYNC_COMPLETE, m.messageType);
// we should see SYNC_COMPLETE
assertEquals(new NodePair(ep1, ep2), ((SyncComplete)m).nodes);
}
return null;