waitForConnectorSync();
FutureCallback<Object> callback1 = new FutureCallback<Object>();
connector1.send("1", new GenericCommandMessage<Object>("Hello"), callback1);
FutureCallback<?> callback2 = new FutureCallback();
connector1.send("1", new GenericCommandMessage<Object>(1L), callback2);
FutureCallback<Object> callback3 = new FutureCallback<Object>();
connector2.send("1", new GenericCommandMessage<String>("Hello"), callback3);
FutureCallback<?> callback4 = new FutureCallback();
connector2.send("1", new GenericCommandMessage<Long>(1L), callback4);
assertEquals("The Reply!", callback1.get());
assertEquals("The Reply!", callback2.get());
assertEquals("The Reply!", callback3.get());
assertEquals("The Reply!", callback4.get());
assertTrue(connector1.getConsistentHash().equals(connector2.getConsistentHash()));
}