Testing and Debugging 16% Flashcards
1
Q
True/False: Test methods cannot be used to test Web service callouts.
A
True.
Web service callouts are asynchronously while test methods are synchronous.
2
Q
How do we test email send and receive in different environments?
A
By moving the mail functions into their own class and then pass the required parameters to send the mail.