@Test
    public void testSystemSettings_takesEffect_before_defaultvalue() {
        System.setProperty(Configs.CONN_RECONNECT_SWITCH, "true");
        System.setProperty(Configs.CONN_MONITOR_SWITCH, "true");
        client1 = new RpcClient();
        client2 = new RpcClient();

        Assert.assertTrue(client1.isConnectionMonitorSwitchOn());
        Assert.assertTrue(client1.isReconnectSwitchOn());
        Assert.assertTrue(client2.isConnectionMonitorSwitchOn());
        Assert.assertTrue(client2.isReconnectSwitchOn());
    }
@author tsui
@version $Id: SwitchStatusTest.java, v 0.1 2017-08-03 17:25 tsui Exp $
src/test/java/com/alipay/remoting/inner/utiltest/GlobalSwitchTest.java