Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

Which two statements are accurate about why Mock objects are needed when writing test classes?

Which two statements are accurate about why Mock objects are needed when writing test classes? Choose 2 answers

A.

Mock is needed whenever the code makes an HTTP callout.

B.

Some methods are invoking long running processes, using Mock is a shortcut of bypassing the long executions.

C.

Mock can also be used on the classes that extend the batchable interface to bypass the batch jobs.

D.

Using a Mock allows the test class to bypass the dependencies of other objects, methods, state, or behaviors. Therefore, the developer has total control of his own code.

Plat-Arch-202 PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now Plat-Arch-202 pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"