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