@Override
public void setUp() throws Exception {
super.setUp();
server1 = new ServerInstances(SERVER1_DOMAIN, new Router() {
@Override
public void route(Packet packet) {
server2.manager.receivePacket(packet);
}
});
server2 = new ServerInstances(SERVER2_DOMAIN, new Router() {
@Override
public void route(Packet packet) {
server1.manager.receivePacket(packet);
}
});