private Called receivedSuccessfully;
private Called ackReceived;
@BeforeMethod
public void setUp() throws Exception {
final UNIConfig conf1 = new UNIConfig();
conf1.listenPort = TrUtils.rand.nextInt(10000)+10000;
conf1.maxUpstreamBytesPerSecond = 1024;
final Tuple2<RSAPublicKey, RSAPrivateKey> kp1 = TrCrypto.createRsaKeyPair();
final Tuple2<RSAPublicKey, RSAPrivateKey> kp2 = TrCrypto.createRsaKeyPair();
i1 = new UdpNetworkInterface(conf1, kp1);
final UNIConfig conf2 = new UNIConfig();
conf2.listenPort = conf1.listenPort+1;
conf2.maxUpstreamBytesPerSecond = 1024;
i2 = new UdpNetworkInterface(conf2, kp2);
final UdpNetworkLocation ra1 = new UdpNetworkLocation(InetAddress.getByName("127.0.0.1"), conf1.listenPort);