@Test
public void getOther() {

    Socks5Pair pair = new Socks5Pair(target, connectionsRegistry, hash);
    pair.setRequester(requester);
    
    Assert.assertEquals(requester, pair.getOther(target));
    Assert.assertEquals(target, pair.getOther(requester));
}