@Override
    public void unwatch(final String key) {
        try {
            EventListener nacosListener = listenerMap.get(key);
            if (Objects.nonNull(nacosListener)) {
                namingService.unsubscribe(key, groupName, nacosListener);
                listenerMap.remove(key);
                LOGGER.info("Nacos Unwatch key: {}", key);
            }
        } catch (NacosException e) {
            LOGGER.error("Error removing Nacos service listener: {}", e.getMessage(), e);
            throw new ShenyuException(e);
        }
    }
@Test
    void testUnwatch() throws NoSuchFieldException, IllegalAccessException {
        final String key = "test";
        nacosDiscoveryServiceUnderTest.unwatch(key);
        ConcurrentMap<String, EventListener> listenerMap = (ConcurrentMap<String, EventListener>) getField(nacosDiscoveryServiceUnderTest, "listenerMap");
        assertFalse(listenerMap.containsKey(key));
    }