@Test
    public void testAll() {
        Assert.assertNotNull(RpcConfigs.getStringValue("asdasd", RpcOptions.DEFAULT_PROTOCOL));
        try {
            Assert.assertNotNull(RpcConfigs.getStringValue("asdasd", "asdasdzz"));
            Assert.fail();
        } catch (Exception e) {
            Assert.assertTrue(e instanceof SofaRpcRuntimeException);
        }

        Assert.assertTrue(RpcConfigs.getBooleanValue("asdasd", RpcOptions.SERVICE_REGISTER));
        try {
            Assert.assertTrue(RpcConfigs.getBooleanValue("asdasd", "asdasdzz"));
            Assert.fail();
        } catch (Exception e) {
            Assert.assertTrue(e instanceof SofaRpcRuntimeException);
        }

        Assert.assertTrue(RpcConfigs.getIntValue("asdasd", RpcOptions.CONSUMER_INVOKE_TIMEOUT) > 0);
        try {
            Assert.assertTrue(RpcConfigs.getIntValue("asdasd", "asdasdzz") > 0);
            Assert.fail();
        } catch (Exception e) {
            Assert.assertTrue(e instanceof SofaRpcRuntimeException);
        }
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/common/RpcConfigsTest.java