@Override
    public void removeSelector(final SelectorData selectorData) {
        if (Objects.isNull(selectorData.getId())) {
            return;
        }
        ApplicationConfigCache.getInstance().invalidate(selectorData.getId());
    }
@Test
    public void testRemoveSelector() {
        when(selectorData.getId()).thenReturn(null);
        grpcPluginDataHandler.removeSelector(selectorData);
        when(selectorData.getId()).thenReturn("selectorId");
        grpcPluginDataHandler.removeSelector(selectorData);
        final List<ShenyuServiceInstance> shenyuServiceInstances = ApplicationConfigCache.getInstance().get(selectorData.getId()).getShenyuServiceInstances();
        assertTrue(CollectionUtils.isEmpty(shenyuServiceInstances), "shenyuServiceInstances mast is empty");
    }