public static String buildApiPath(String interfaceName, String version, String methodName) {
        if (version == null || "".equals(version) || ABSENT_VERSION.equals(version)) {
            return interfaceName + "." + methodName;
        }

        // io.sermant.dubbotest.service.CTest:version.methodName
        return interfaceName + ":" + version + "." + methodName;
    }
@Test
    public void testBuildPath() {
        Assert.assertEquals(
            ConvertUtils.buildApiPath("com.test.interface", "1.0.0", "methodName"),
            "com.test.interface:1.0.0.methodName");
        Assert.assertEquals(
            ConvertUtils.buildApiPath("com.test.interface", "", "methodName"),
            "com.test.interface.methodName");
    }