@Test
    public void setLocalHost() {
        String old = SystemInfo.getLocalHost();
        try {
            SystemInfo.setLocalHost("xxx");
            Assert.assertEquals("xxx", SystemInfo.getLocalHost());
        } finally {
            SystemInfo.setLocalHost(old);
        }
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/common/SystemInfoTest.java