RegistryCenterNode { public String getSchemaPath(final String schemaName) { return Joiner.on("/").join("", ROOT, DATA_NODES_NAME, schemaName); }  String getProxyNodePath(final String instanceId); String getDataNodesPath(); String getSchemaPath(final String schemaName); String getDataSourcePath(final String schemaName, final String dataSourceName); Optional<GovernanceSchema> getGovernanceSchema(final String dataSourceNodeFullPath); Collection<String> getAllSchemaPaths(final Collection<String> schemaNames);  }
@Test public void assertGetSchemaPath() { assertThat(registryCenterNode.getSchemaPath("primary_replica_db"), is("/states/datanodes/primary_replica_db")); }