152k views
5 votes
Which two approaches optimize test maintenance and support future declarative configuration changes? Choose 2 answers Create a method that performs a callout for valid records, then call this method within test methods. Create a method that creates valid records, then call this method within test methods. Create a method that loads valid Account records from a static resource, then call this method within test methods. Create a method that queries for valid records, then call this method within test methods.

User Arturro
by
5.2k points

1 Answer

3 votes

Answer:

B and C

Step-by-step explanation:

B. Create a method that load valid account records from a static resource, then call this method within test method

C. Create a method that creates valid records, then call this method within test methods

User Vijaykumar
by
4.5k points