channel1 = createChannel();
channel2 = createChannel();
mockCommandBus1 = spy(new SimpleCommandBus());
mockCommandBus2 = spy(new SimpleCommandBus());
clusterName = "test-" + new Random().nextInt(Integer.MAX_VALUE);
serializer = spy(new XStreamSerializer());
connector1 = new JGroupsConnector(channel1, clusterName, mockCommandBus1, serializer);
connector2 = new JGroupsConnector(channel2, clusterName, mockCommandBus2, serializer);
gossipRouter = new GossipRouter(12001, "127.0.0.1");
}