### Question:
DistroConsistencyServiceImpl implements EphemeralConsistencyService, DistroDataProcessor { @Override public void remove(String key) throws NacosException { onRemove(key); listeners.remove(key); } DistroConsistencyServiceImpl(DistroMapper distroMapper, DataStore dataStore, Serializer serializer,
            SwitchDomain switchDomain, GlobalConfig globalConfig, DistroProtocol distroProtocol); @PostConstruct void init(); @Override void put(String key, Record value); @Override void remove(String key); @Override Datum get(String key); void onPut(String key, Record value); void onRemove(String key); void onReceiveChecksums(Map<String, String> checksumMap, String server); @Override boolean processData(DistroData distroData); @Override String processType(); @Override boolean processVerifyData(DistroData distroData); @Override boolean processSnapshot(DistroData distroData); @Override void listen(String key, RecordListener listener); @Override void unListen(String key, RecordListener listener); @Override boolean isAvailable(); boolean isInitialized();  }### Answer:
@Test public void testRemoveWithoutListener() throws NacosException { String key = KeyBuilder.buildInstanceListKey(TEST_NAMESPACE, TEST_SERVICE_NAME, true); distroConsistencyService.remove(key); verify(dataStore).remove(key); verify(notifier, never()).addTask(key, DataOperation.DELETE); assertTrue(listeners.isEmpty()); }