public static void build(Map<String, Object> argsMap, String agentPath) {
        final Properties configMap = loadConfig(agentPath);
        addNotNullEntries(argsMap, configMap);
        addNormalEntries(argsMap, configMap);
        addPathEntries(argsMap, agentPath);
    }
@Test
    public void testParseArgs() {
        String agentArgs = "appName=test,command=INSTALL_PLUGIN:monitor/flowcontrol,server.port=9000";
        Map<String, String> agentArgsMap = AgentArgsResolver.resolveAgentArgs(agentArgs);
        Map<String, Object> bootArgsMap = new HashMap<>(agentArgsMap);
        BootArgsBuilder.build(bootArgsMap, PathDeclarer.getAgentPath());
        Assert.assertEquals("test", bootArgsMap.get("appName"));
        Assert.assertEquals("9000", bootArgsMap.get("server.port"));
        Assert.assertEquals("INSTALL_PLUGIN:monitor/flowcontrol", bootArgsMap.get("command"));
    }