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