Refer to the test method below''

The test method calls a web service that updates an external system with Account
information and sets the Accounts integration_Updated__c checkbox to True when it completes.
The test fails to execute and exits with an error: "Methods defined as TestMethod do
not support Web service callouts.''
A)

B)

C)

D)

The correct feature to use is C, Named Credentials. Named Credentials are a secure way of storing the endpoint and authentication details for callouts to external services. When URLs change frequently, using Named Credentials allows you to manage the endpoint URL in one place without changing the Apex code.
Named Credentials
Nathalie
4 months agoAsuncion
4 months agoCheryl
4 months agoJacob
4 months agoBrynn
5 months agoCarman
5 months agoPa
5 months agoHollis
5 months agoLawanda
5 months agoElenore
5 months agoYoko
5 months agoMaile
5 months agoGlynda
5 months agoLatricia
6 months agoBettina
11 months agoBenton
9 months agoGerald
10 months agoHollis
10 months agoMelinda
11 months agoRosio
9 months agoRolland
10 months agoWhitley
10 months agoChaya
11 months agoLarae
11 months agoSilva
11 months agoClare
11 months agoMeghan
11 months agoClarinda
10 months agoJunita
10 months agoLeonor
11 months agoLasandra
11 months agoCraig
12 months agoGeoffrey
12 months ago