Answer: To cover the code for the batch class we should call the batch class from the inside of the Test.startTest() and Test.stopTest().
Test.startTest();
Post Your Answer
Guest User
Not sure what course is right for you?
Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.