@Test
    public void testInit() {
        DomainRegistry domainRegistry = new DomainRegistry(new RegistryConfig());
        assertNull(domainRegistry.scheduledExecutorService);
        domainRegistry.init();
        assertTrue(domainRegistry.scheduledExecutorService.isStarted());
    }
@author <a href=mailto:orezsilence@163.com>zhangchengxi</a>
registry/registry-local/src/test/java/com/alipay/sofa/rpc/registry/local/DomainRegistryTest.java