@Around(CLIENT_INTERFACE_REMOVE_CONFIG_RPC)
    Object removeConfigAroundRpc(ProceedingJoinPoint pjp, ConfigRemoveRequest request, RequestMeta meta)
            throws Throwable {
        final ConfigChangePointCutTypes configChangePointCutType = ConfigChangePointCutTypes.REMOVE_BY_RPC;
        final List<ConfigChangePluginService> pluginServices = getPluginServices(
                configChangePointCutType);
        // didn't enabled or add relative plugin
        if (pluginServices.isEmpty()) {
            return pjp.proceed();
        }
        ConfigChangeRequest configChangeRequest = new ConfigChangeRequest(configChangePointCutType);
        configChangeRequest.setArg("dataId", request.getDataId());
        configChangeRequest.setArg("group", request.getGroup());
        configChangeRequest.setArg("tenant", request.getTenant());
        configChangeRequest.setArg("appName", request.getHeader("appName"));
        configChangeRequest.setArg("srcIp", meta.getClientIp());
        configChangeRequest.setArg("requestIpApp", request.getHeader("requestIpApp"));
        configChangeRequest.setArg("srcUser", request.getHeader("src_user"));
        configChangeRequest.setArg("use", request.getHeader("use"));
        return configChangeServiceHandle(pjp, pluginServices, configChangeRequest);
    }
@Test
    void testDisEnablePluginService() throws Throwable {
        Properties properties = new Properties();
        properties.put("mockedConfigChangeService.enabled", "false");
        propertiesStatic.when(
                () -> PropertiesUtil.getPropertiesWithPrefix(any(), eq(ConfigChangeConstants.NACOS_CORE_CONFIG_PLUGIN_PREFIX)))
                .thenReturn(properties);
        configChangeConfigs.onEvent(ServerConfigChangeEvent.newEvent());
        assertFalse(Boolean.parseBoolean(configChangeConfigs.getPluginProperties("mockedConfigChangeService").getProperty("enabled")));
        
        Mockito.when(configChangePluginService.executeType()).thenReturn(ConfigChangeExecuteTypes.EXECUTE_BEFORE_TYPE);
        Mockito.when(configChangePluginService.getServiceType()).thenReturn("mockedConfigChangeService");
        ProceedingJoinPoint proceedingJoinPoint = Mockito.mock(ProceedingJoinPoint.class);
        ConfigRemoveRequest request = new ConfigRemoveRequest();
        RequestMeta requestMeta = new RequestMeta();
        ConfigPublishResponse configPublishResponse = ConfigPublishResponse.buildSuccessResponse();
        Mockito.when(proceedingJoinPoint.proceed()).thenReturn(configPublishResponse);
        //execute
        Object o = configChangeAspect.removeConfigAroundRpc(proceedingJoinPoint, request, requestMeta);
        //expect
        Mockito.verify(configChangePluginService, Mockito.times(0))
                .execute(any(ConfigChangeRequest.class), any(ConfigChangeResponse.class));
        assertEquals(configPublishResponse, o);
    }