### Question:
NacosConfigurator implements RegistryConfigureProcessor { @Override public RegistryConfig buildFromAddress(String address) { String nacosAddress = RegistryParseUtil.parseAddress(address, SofaBootRpcConfigConstants.REGISTRY_PROTOCOL_NACOS); Map<String, String> map = RegistryParseUtil.parseParam(address, SofaBootRpcConfigConstants.REGISTRY_PROTOCOL_NACOS); return new RegistryConfig().setAddress(nacosAddress).setParameters(map) .setProtocol(SofaBootRpcConfigConstants.REGISTRY_PROTOCOL_NACOS); } NacosConfigurator(); @Override RegistryConfig buildFromAddress(String address); @Override String registryType();  }### Answer:
@Test public void buildFromAddress() { String address = "nacos: NacosConfigurator nacosConfigurator = new NacosConfigurator(); RegistryConfig registryConfig = nacosConfigurator.buildFromAddress(address); assertNotNull(registryConfig); assertEquals("nacos", registryConfig.getProtocol()); assertEquals("127.0.0.1:8848", registryConfig.getAddress()); assertNotNull(registryConfig.getParameters()); assertEquals("test", registryConfig.getParameter("cluster")); }