Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 7 Question 41 Discussion
A developer has a Batch Apex process, Batch_Account_Sales, that updates the sales amount for 10,000 Accounts on a nightly basis. The Batch Apex works as designed In the sandbox. However, the developer cannot get code coverage on the Batch Apex class.The test class is below:What is causing the code coverage problem?
C) The executeBatch must fail within test. startTest ( ) and -- test. stopTest().
A) The batch process will not recognize new accounts created in the same session
B) The account creation already sets the sates amount to 0.
D) The batch needs more than one account record created.
Mickie
7 months agoCharlene
7 months agoRuth
7 months agoMargery
8 months agoStaci
8 months agoAnnabelle
8 months agoKattie
8 months agoIra
8 months agoWilda
8 months agoJeannetta
8 months agoAimee
8 months agoClorinda
8 months ago