@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");
}