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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly