@isTest
private class NFM511ScheduleTest {
    static testMethod void testExecute() {
        // This test runs a scheduled job at midnight Sept. 3rd. 2022
        String CRON_EXP = '0 0 0 3 9 ? 2024';

        System.Test.startTest();
        // Schedule the test job
        String jobId = System.schedule('NFM511ScheduleTest', CRON_EXP, new NFM511Schedule());
        // Get the information from the CronTrigger API object
        CronTrigger ct = [SELECT Id, CronExpression, TimesTriggered, NextFireTime FROM CronTrigger WHERE id = :jobId];
        System.Test.StopTest();
    }
}