Question 136
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?
Question 137
A developer needs test data for Apex test classes. What can the developer use to provide test data to the test methods? Choose 2 answers
Question 138
A developer receives complaints that the component loads slowly.
Which change can the developer implement to make the component perform faster?
Question 139
Consider the following code snippet:
A developer created the following test class to provide the proper code coverage for the snippet above:
However, when the test runs, no data is returned and the assertion fails.
However, when the test runs, no data is returned and the assertion fails.
Which edit should the developer make to ensure the test class runs successfully?
Question 140
What Visualforce tag can be used to display custom messages in pages using the Salesforce UI styling for errors, warnings, and other types of messages?
