@Test
    public void setShuttingDown() throws Exception {
        boolean old = RpcRunningState.isShuttingDown();
        try {
            RpcRunningState.setShuttingDown(true);
            Assert.assertTrue(RpcRunningState.isShuttingDown());
            RpcRunningState.setShuttingDown(false);
            Assert.assertFalse(RpcRunningState.isShuttingDown());
        } finally {
            RpcRunningState.setShuttingDown(old);
        }
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/context/RpcRunningStateTest.java