@isTest private class UpdateYearlyContactScheduleTest { @isTest static void test_method_one() { String CRON_EXP = '0 0 0 27 10 ? 2023'; System.Test.startTest(); String jobId = system.schedule('UpdateYearlyContactScheduleTest', CRON_EXP, new UpdateYearlyContactSchedule()); System.Test.StopTest(); } }