@Override
    public void executor(final Collection<ApiDocRegisterDTO> dataList) {
        for (ApiDocRegisterDTO apiDocRegisterDTO : dataList) {
            shenyuClientRegisterRepository.persistApiDoc(apiDocRegisterDTO);
        }
    }
@Test
    public void testExecutorValidData() {
        Collection<ApiDocRegisterDTO> apiDocRegisterDTOList = new ArrayList<>();

        ApiDocRegisterDTO apiDocRegisterDTO =
            ApiDocRegisterDTO.builder().contextPath("/test").apiPath("/api").httpMethod(0).consume("application/json").produce("application/json").version("V0.01").rpcType("http").state(1).ext("test")
                .apiOwner("test").apiDesc("test").apiSource(0).document("test").eventType(EventType.UPDATED).tags(new ArrayList<>()).build();
        apiDocRegisterDTOList.add(apiDocRegisterDTO);

        executorSubscriber.executor(apiDocRegisterDTOList);

        verify(shenyuClientRegisterRepository, times(1)).persistApiDoc(apiDocRegisterDTO);
    }