ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 301 - Certified Platform Developer II discussion

Report
Export

A developer created an Apex class that makes outbound RESTful callout. The following was created to send a fake response in Apex test methods.

Which method can be called to return this fake response in the test methods?

A.
TestsetMock
Answers
A.
TestsetMock
B.
TestcreateStub
Answers
B.
TestcreateStub
C.
testSetup
Answers
C.
testSetup
D.
Test.setTestData
Answers
D.
Test.setTestData
Suggested answer: A
asked 23/09/2024
Ruben Dallibor
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first