@Test
    public void testAddress() {
        RpcInternalContext context = RpcInternalContext.getContext();
        context.setLocalAddress(null, 80);
        context.setLocalAddress("127.0.0.1", -1);
        context.setRemoteAddress(null, 80);
        context.setRemoteAddress("127.0.0.1", -1);
        Assert.assertTrue(context.getRemoteAddress().getPort() == 0);
        Assert.assertEquals("127.0.0.1", context.getRemoteHostName());
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/context/RpcInternalContextTest.java