How should a developer write the test to provide test coverage? - ProProfs Discuss
Topics
Products
Follow Us:

How should a developer write the test to provide test coverage?

A developer wrote Apex code that calls out to an external system.

A. Write a class that extends HTTPCalloutMock.

B. Write a class that implements the HTTPCalloutMock interface.

C. Write a class that implements the WebserviiceMock interface.

D. Write a class that extends WebserviceMock.

Asked by Red wane, Last updated: Apr 25, 2020

+ Answer
Request

1 Answer

adonis

Adonis

Answered Apr 05, 2020

B. Write a class that implements the HTTPCalloutMock interface.

 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.