### Question:
MeshConfigurator implements RegistryConfigureProcessor { @Override public RegistryConfig buildFromAddress(String address) { String meshAddress = RegistryParseUtil.parseAddress(address, SofaBootRpcConfigConstants.REGISTRY_PROTOCOL_MESH); meshAddress = HTTP + meshAddress; return new RegistryConfig().setAddress(meshAddress) .setProtocol(SofaBootRpcConfigConstants.REGISTRY_PROTOCOL_MESH); } MeshConfigurator(); @Override RegistryConfig buildFromAddress(String address); @Override String registryType(); static final String HTTP; }### Answer:
@Test public void buildFromAddress() { String address = "mesh: MeshConfigurator meshConfigurator = new MeshConfigurator(); RegistryConfig registryConfig = meshConfigurator.buildFromAddress(address); assertEquals("mesh", registryConfig.getProtocol()); assertEquals("http: }