protected Path getLogConfigPath(ProfilerConfig config, Path agentPath) {
        if (agentPath == null) {
            URL classPathRoot = getClass().getResource("/");
            Objects.requireNonNull(classPathRoot, "classPathRoot");
            try {
                return Paths.get(classPathRoot.toURI());
            } catch (URISyntaxException e) {
                throw new RuntimeException("Failed to get agentPath", e);
            }
        }
        return agentPath;
    }
@author emeroad
@author koo.taejin
@author hyungil.jeong
@author jaehong.kim
agent-module/profiler-test/src/main/java/com/navercorp/pinpoint/profiler/test/PluginTestAgent.java