@Test
    public void testGetAll() throws InterruptedException {
        try {
            client.getConnection(addr, 3000);
        } catch (RemotingException e) {
            Assert.fail("should not reach here");
        }
        Assert.assertEquals(1, client.getAllManagedConnections().size());
        Assert.assertEquals(1, client.getAllManagedConnections().get(addr).size());
    }
@author tsui
@version $Id: ClientConnectionTest.java, v 0.1 2017-09-13 14:20 tsui Exp $
src/test/java/com/alipay/remoting/rpc/client/ClientConnectionTest.java