@GetMapping(value = "/idInfo")
    public RestResult<Map<String, Map<Object, Object>>> idInfo() {
        Map<String, Map<Object, Object>> info = new HashMap<>(10);
        idGeneratorManager.getGeneratorMap().forEach((resource, idGenerator) -> info.put(resource, idGenerator.info()));
        return RestResultUtils.success(info);
    }
@Test
    void testIdInfo() {
        Map<String, IdGenerator> idGeneratorMap = new HashMap<>();
        idGeneratorMap.put("1", new SnowFlowerIdGenerator());
        Mockito.when(idGeneratorManager.getGeneratorMap()).thenReturn(idGeneratorMap);
        
        RestResult<Map<String, Map<Object, Object>>> res = coreOpsController.idInfo();
        assertEquals(2, res.getData().get("1").size());
    }