@Override
    public void executor(final Collection<MetaDataRegisterDTO> metaDataRegisterDTOList) {
        for (MetaDataRegisterDTO metaDataRegisterDTO : metaDataRegisterDTOList) {
            shenyuClientRegisterRepository.persistInterface(metaDataRegisterDTO);
        }
    }
@Test
    public void testExecutorValidData() {
        Collection<MetaDataRegisterDTO> metaList = new ArrayList<>();

        MetaDataRegisterDTO metaDataRegisterDTO =
                MetaDataRegisterDTO.builder().contextPath("/test").path("/meta").pathDesc("application/json")
                        .rpcType("http")
                        .serviceName("UserService")
                        .methodName("getUserInfo")
                        .ruleName("AuthorizationRule")
                        .parameterTypes("String, int")
                        .rpcExt("test")
                        .enabled(true)
                        .host("localhost")
                        .port(8080)
                        .pluginNames(new ArrayList<>())
                        .build();
        metaList.add(metaDataRegisterDTO);

        executorSubscriber.executor(metaList);

        verify(shenyuClientRegisterRepository, times(1)).persistInterface(metaDataRegisterDTO);
    }