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
3 months agoAsuncion
3 months agoCheryl
3 months agoJacob
4 months agoBrynn
4 months agoCarman
4 months agoPa
4 months agoHollis
4 months agoLawanda
5 months agoElenore
5 months agoYoko
5 months agoMaile
5 months agoGlynda
5 months agoLatricia
5 months agoBettina
10 months agoBenton
9 months agoGerald
9 months agoHollis
9 months agoMelinda
10 months agoRosio
8 months agoRolland
9 months agoWhitley
9 months agoChaya
10 months agoLarae
10 months agoSilva
10 months agoClare
11 months agoMeghan
11 months agoClarinda
9 months agoJunita
9 months agoLeonor
10 months agoLasandra
10 months agoCraig
11 months agoGeoffrey
11 months ago