@IsTest
public with sharing class DecrptUpsertAgencyContactTest {
    @IsTest
    static void testScheduledJobExecution() {
        // 创建测试数据
        String json_list = '[{"name":"John Doe","email":"johndoe@example.com"},{"name":"Jane Smith","email":"janesmith@example.com"}]';
        String acList = 'Test Account';
        String sobject_name = 'TestObject';
        
        // 在当前上下文中生成一个定时任务
        Test.startTest();
        DecrptUpsertAgencyContact.assignOnceOneMinuteLater(json_list, acList, sobject_name);
        Test.stopTest();
    }
}