sender.lock.wait();
receiver.lock.wait();
}
}
reg.unbindAll();
assertEquals( stream.bytesRead, receiver.bytesRead );
assertEquals( stream.size, receiver.bytesRead );
byte[] expectedMd5 = stream.digest.digest();
byte[] actualMd5 = receiver.digest.digest();