<< Prev Question Next Question >>

Question 29/84

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?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (84q)
Question 1: While working in a sandbox, an Apex test fails when run in t...
Question 2: Universal Containers has a Visualforce page that displays a ...
Question 3: A custom Visualforce controller calls the ApexPages.addMessa...
Question 4: Universal Containers (UC) uses a custom object called Vendor...
Question 5: Universal Containers is developing a new Lightning web compo...
Question 6: A custom picklist field, Pool Preference , exists on a custo...
Question 7: Universal Containers needs to create a custom user interface...
Question 8: A lead developer creates an Apex interface called Laptop. Co...
1 commentQuestion 9: Which three statements are accurate about debug logs? Choose...
Question 10: A developer has the following requirements: * Calculate the ...
Question 11: A lead developer creates a virtual class called "OrderReques...
Question 12: What are two characteristics related to formulas? Choose 2 a...
Question 13: How many Accounts will be inserted by the following block of...
Question 14: A developer wants to get access to the standard price book i...
Question 15: A developer wants to improve runtime performance of Apex cal...
Question 16: Which three data types can a SOQL query return? Choose 3 ans...
Question 17: A developer is designing a new application on the Salesforce...
Question 18: (Full question statement) A developer is tasked with buildin...
Question 19: How does the Lightning Component framework help developers i...
Question 20: Which exception type cannot be caught?...
Question 21: Developers at Universal Containers (UC) use version control ...
Question 22: Universal Containers wants to ensure that all new leads crea...
Question 23: Universal Containers has developed custom Apex code and Ligh...
Question 24: A developer has an integer variable called maxAttempts. The ...
Question 25: The value of the account type field is not being displayed c...
Question 26: A developer created a new after insert trigger on the Lead o...
Question 27: What are two use cases for executing Anonymous Apex code? Ch...
Question 28: A developer has a single custom controller class that works ...
Question 29: A developer is asked to write helper methods that create tes...
Question 30: Universal Containers has implemented an order management app...
Question 31: A developer writes a trigger on the Account object on the be...
Question 32: Which statement should be used to allow some of the records ...
Question 33: What are three considerations when using the @lnvocableMetho...
Question 34: What is the result of the following code snippet? public wor...
Question 35: What are two ways a developer can get the status of an enque...
Question 36: (Full question statement) A developer must create a CreditCa...
Question 37: A developer is tasked with building a custom Lightning web c...
Question 38: A software company uses the following objects and relationsh...
Question 39: A developer must perform a complex SOQL query that joins two...
Question 40: A developer wants to send an outbound message when a record ...
Question 41: What is the result of the following code? (Exhibit)...
Question 42: Which three Salesforce resources can be accessed from a Ligh...
Question 43: Cloud Kicks has a multi-screen flow that its call center age...
Question 44: A business has a proprietary Order Management System (OMS) t...
Question 45: A developer has identified a method in an Apex class that pe...
Question 46: What are three characteristics of change set deployments? Ch...
Question 47: A developer wants to mark each Account in a List&lt;Account&...
Question 48: An Apex method, getAccounts, that returns a List of Accounts...
Question 49: Universal Containers has a large number of custom applicatio...
Question 50: An org has an existing flow that edits an Opportunity with a...
Question 51: Universal Containers (UC) uses out-of-the-box order manageme...
Question 52: In the following example, which sharing context will myMetho...
Question 53: A developer needs to allow users to complete a form on an Ac...
Question 54: Universal Containers (UC) uses out-of-the-box order manageme...
Question 55: (Full question statement) Universal Containers wants Opportu...
Question 56: Which code in a Visualforce page and/or controller might pre...
Question 57: The orderHelper class is a utility class that contains busin...
Question 58: Cloud Kicks Fitness, an ISV Salesforce partner, is developin...
Question 59: What are two considerations for deploying from a sandbox to ...
Question 60: A developer created a custom order management app that uses ...
Question 61: Universal Containers wants a list button to display a Visual...
Question 62: A software company is using Salesforce to track the companie...
Question 63: What is the value of the Trigger.old context variable in a b...
Question 64: A developer needs to have records with specific field values...
Question 65: Universal Containers has a support process that allows users...
Question 66: For which three items can a trace flag be configured? Choose...
Question 67: A developer must troubleshoot to pinpoint the causes of perf...
Question 68: A developer created a child Lightning web component nested i...
Question 69: A developer creates a new Apex trigger with a helper class, ...
Question 70: A developer wants to import 500 Opportunity records into a s...
Question 71: When a user edits the Postal Code on an Account, a custom Ac...
Question 72: A lead developer creates a virtual class called "OrderReques...
Question 73: Refer to the component code requirements below: &lt;lightnin...
Question 74: Universal Containers (UC) wants to lower its shipping cost w...
Question 75: A developer is tasked to perform a security review of the Co...
Question 76: (Full question statement) Which statement generates a list o...
Question 77: Since Aura application events follow the traditional publish...
Question 78: Which two are best practices when it comes to Aura component...
Question 79: The Account object in an organization has a master-detail re...
Question 80: A developer created this Apex trigger that calls MyClass.mys...
Question 81: A developer creates a batch Apex job to update a large numbe...
Question 82: A Primaryld_c custom field exists on the Candidate _c custom...
Question 83: A developer has a Visualforce page and custom controller to ...
Question 84: Given the following Anonymous block: (Exhibit) What should a...