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