@Override
    public void batchDeregisterService(String serviceName, String groupName, List<Instance> instances)
            throws NacosException {
        NAMING_LOGGER.info("batch DeregisterInstance instances: {} ,serviceName: {} begin.", instances, serviceName);
        if (CollectionUtils.isEmpty(instances)) {
            NAMING_LOGGER.warn("batch DeregisterInstance instances is Empty:{}", instances);
        }
        grpcClientProxy.batchDeregisterService(serviceName, groupName, instances);
        NAMING_LOGGER.info("batch DeregisterInstance instances: {} ,serviceName: {} finish.", instances, serviceName);
    }
@Test
    void testBatchDeregisterServiceByGrpc() throws NacosException {
        String serviceName = "service1";
        String groupName = "group1";
        List<Instance> instanceList = new ArrayList<>();
        delegate.batchDeregisterService(serviceName, groupName, instanceList);
        verify(mockGrpcClient, times(1)).batchDeregisterService(serviceName, groupName, instanceList);
        reset(mockGrpcClient);
        instanceList.add(new Instance());
        delegate.batchDeregisterService(serviceName, groupName, instanceList);
        verify(mockGrpcClient, times(1)).batchDeregisterService(serviceName, groupName, instanceList);
    }