You need to sign in to do that
Don't have an account?
Neha Kakroo
Test class - schedulable class
Hi can somebody help me in writting a test class for the code below:
global class DailyChangeHistoryMailer implements Schedulable {
global void execute(SchedulableContext SC) {
Database.executeBatch(new ChangeHistoryMailer());
}
}
This is probably the Scheduler class for your batch apex class. Try the below code and let me know if it is useful:-