A developer implements a Queueable class that makes an external REST callout. The developer needs to test this class using Test.startTest() and Test.stopTest(). What is required for the callout to succeed in the test method?
Salesforce requires callouts in tests to be mocked using Test.setMock().
Why this answer
Callouts are not allowed in test methods unless mocked. The test must implement the HttpCalloutMock interface to simulate the response.