ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 70 - Certified Platform Developer II discussion

Report
Export

What is a best practice when unit testing a controller? (Choose two.)

A.
Simulate user interaction by leveraging Test.setMock()
Answers
A.
Simulate user interaction by leveraging Test.setMock()
B.
Verify correct references by using getURL()
Answers
B.
Verify correct references by using getURL()
C.
Access test data by using seeAIIData=true
Answers
C.
Access test data by using seeAIIData=true
D.
Set query parameters by using getParameters().put
Answers
D.
Set query parameters by using getParameters().put
Suggested answer: B, D
asked 23/09/2024
Christina Chelioti
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first