@isTest private class ProductMonthlySalesCountManyScheduleTest { static testMethod void testMethod1() { String CRON_EXP = '0 0 0 3 9 ? 2022'; System.Test.startTest(); // Schedule the test job system.schedule('ProductMonthlySalesCountManyScheduleTest', CRON_EXP, new ProductMonthlySalesCountManySchedule()); // System.assertEquals('2022-09-03 00:00:00', String.valueOf(ct.NextFireTime)); System.Test.StopTest(); } }