@Override
        public void updateAllProviders(List<ProviderGroup> providerGroups) {
            ps.clear();

            if (providerGroups == null || providerGroups.size() == 0) {
            } else {
                for (ProviderGroup p : providerGroups) {
                    ps.put(p.getName(), p);
                }

            }
        }
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