@Override
    public String getPathForInstances(String serviceName) {
        return ZKPaths.makePath(basePath, serviceName);
    }
@Test
    public void testGetPathForInstances() {
        DiscoveryPathConstructorImpl constructor = new DiscoveryPathConstructorImpl("/foo/bar");
        assertThat(constructor.getPathForInstances("baz")).isEqualTo("/foo/bar/baz");
        assertThat(constructor.getPathForInstances("")).isEqualTo("/foo/bar");
        assertThat(constructor.getPathForInstances(null)).isEqualTo("/foo/bar");
    }