@Override
    public String getTaskInfos() {
        StringBuilder sb = new StringBuilder();
        for (Object taskType : getAllProcessorKey()) {
            sb.append(taskType).append(':');
            AbstractDelayTask task = this.tasks.get(taskType);
            if (task != null) {
                sb.append(new Date(task.getLastProcessTime()));
            } else {
                sb.append("finished");
            }
            sb.append(Constants.NACOS_LINE_SEPARATOR);
        }
        
        return sb.toString();
    }
@Test
    void testGetTaskInfos() throws InterruptedException {
        taskManager.addProcessor("test", testTaskProcessor);
        when(testTaskProcessor.process(abstractTask)).thenReturn(true);
        taskManager.addTask("test", abstractTask);
        assertEquals("test:" + new Date(0) + Constants.NACOS_LINE_SEPARATOR, taskManager.getTaskInfos());
        TimeUnit.MILLISECONDS.sleep(150);
        assertEquals("test:finished" + Constants.NACOS_LINE_SEPARATOR, taskManager.getTaskInfos());
    }