@Test
    public void setParameter() throws Exception {
        MethodConfig methodConfig = new MethodConfig();
        Assert.assertNull(methodConfig.parameters);
        Assert.assertNull(methodConfig.getParameter("aa"));
        methodConfig.setName("echo");
        methodConfig.setParameter("aa", "11");
        Assert.assertNotNull(methodConfig.parameters);
        Assert.assertEquals(methodConfig.getParameter("aa"), "11");
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/config/MethodConfigTest.java