What are three acti...
 
Notifications
Clear all

What are three actions to enable this functionality?

1 Posts
1 Users
0 Likes
56 Views
Jacques
(@hepnerjacques)
Noble Member
Joined: 6 months ago
Posts: 360
Topic starter  

A developer is creating unit tests for code that makes SOAP web service callouts. The developer needs to insert some test data as a part of the unit tests setup.

What are three actions to enable this functionality? (Choose three.)

  • A . Surround the callout with TeststartTest(), Test.stopTest()
  • B . Surround the data insertion with Test.startTest(), Test.stopTest()
  • C . Implement the WebServiceMock interface
  • D . Update code to call Test.setMock()
  • E . Implement the HttpCalloutMock interface

Show Answer Hide Answer

Suggested Answer: A,C,D

   
Quote
Share: