@Before
    public void setUp() {

        registryConfig = new RegistryConfig()
            .setProtocol("sofa")
            .setSubscribe(true)
            .setRegister(true)
            .setAddress("127.0.0.1:9603");

        registry = (SofaRegistry) RegistryFactory.getRegistry(registryConfig);
        registry.init();
        Assert.assertTrue(registry.start());
    }
Created by zhanggeng on 2017/7/14.

@author <a href="mailto:zhanggeng.zg@antfin.com">zhanggeng</a>
registry/registry-sofa/src/test/java/com/alipay/sofa/rpc/registry/sofa/SofaRegistryTest.java