Question 176

A developer is asked to write helper methods that create test data for unit tests.

What should be changed in the TestUtils class so that its methods are only usable by unit test methods?
  • Question 177

    A developer wrote an Apex method to update a list of Contacts and wants to make it available for use by Lightning web components.
    Which annotation should the developer add to the Apex method to achieve this?
  • Question 178

    How many Accounts will be inserted by the following block of code?
  • Question 179

    Universal Containers has a Visualforce page that displays a table of every Container__c being rented by a given Account. Recently this page is failing with a view state limit because some of the customers rent over
    10,000 containers.
    What should a developer change about the Visualforce page to help with the page load errors?
  • Question 180

    In the following example, which sharing context will myMethod execute when it is invoked?