You need to sign in to do that
Don't have an account?
I am really not understanding how to write Test Classes. Please help!!
I have to write a test class for the below schedule apex class, That too with 100% code coverage and system assert equals. How should I start what to do please help me. I really really need all you guys support.
global class DailyPrintbleAndDossierScheduler implements Schedulable
{
global void execute(SchedulableContext ctx)
{
database.executeBatch(new BrokerDataAggregateResultDeleteBatch());
database.executeBatch(new BrokerDataTopOfficesDeleteBatch());
database.executeBatch(new BrokerDataSummaryDeleteBatchController());
}
}
Try below code: I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
All Answers
Try below code: I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi