public void deleteSource(String groupId, String streamId) {
        sourceService.logicDeleteAll(groupId, streamId, GLOBAL_OPERATOR);
    }
mock {@link InlongGroupProcessService#restartProcessAsync}, it will restart stream source
inlong-manager/manager-service/src/test/java/org/apache/inlong/manager/service/core/impl/AgentServiceTest.java