What is a best prac...
 
Notifications
Clear all

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

1 Posts
1 Users
0 Likes
55 Views
Vicente
(@delillovicente)
Noble Member
Joined: 7 months ago
Posts: 352
Topic starter  

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

  • A . Simulate user interaction by leveraging Test.setMock()
  • B . Verify correct references by using getURL()
  • C . Access test data by using seeAIIData=true
  • D . Set query parameters by using getParameters().put

Show Answer Hide Answer

Suggested Answer: B,D

   
Quote
Share: