高章伟
2022-02-24 2aa8da8af66aa8ae00f25831aed6bb0364176e7b
1
2
3
4
5
6
7
8
9
10
11
12
@isTest
private class RollupToOPDScheduleTest {
    static testMethod void testExecute() {
        String CRON_EXP = '0 0 0 3 9 ? 2022';
 
        System.Test.startTest();
        // Schedule the test job
        system.schedule('RollupToOPDScheduleTest', CRON_EXP, new RollupToOPDSchedule());
        // System.assertEquals('2022-09-03 00:00:00', String.valueOf(ct.NextFireTime));
        System.Test.StopTest();
    }
}