@Override
    public void unsubscribe(String cluster, NamingListener listener) throws Exception {

    }
@Test
    public void testUnsubscribe() throws Exception {
        NamingserverRegistryServiceImpl registryService = (NamingserverRegistryServiceImpl) new NamingserverRegistryProvider().provide();


        NamingListenerimpl namingListenerimpl = new NamingListenerimpl();

        //1.subscribe
        registryService.subscribe(namingListenerimpl, "group1");

        //2.register
        InetSocketAddress inetSocketAddress = new InetSocketAddress("127.0.0.1", 8088);
        registryService.register(inetSocketAddress);
        String namespace = FILE_CONFIG.getConfig("registry.namingserver.namespace");
        createGroupInCluster(namespace, "group1", "cluster1");

        //3.check
        assertEquals(namingListenerimpl.isNotified, true);
        namingListenerimpl.setNotified(false);

        //4.unsubscribe
        registryService.unsubscribe(namingListenerimpl, "group1");

        //5.unregister

        registryService.unregister(inetSocketAddress);
        //5.check
        assertEquals(namingListenerimpl.isNotified, false);


    }