What happens wtier the developer tries to deploy the … and two classes to production, assuming no other code exists?

A developer created this Apex trigger that calls MyClass,myStartmethod:

The developer creates a test method that calls MyClase,myStartmethod directly, resulting in 81% overall code coverage.

What happens wtier the developer tries to deploy the … and two classes to production, assuming no other code exists?
A . The deployment fails because the Apr- MgQM has no code coverage.
B. The deployment tails because no assertions mett made in the lest method.
C. The deployment passes became the Apex code has the requited 75% code coverage.
D. The deployment passes because both classes and the trigger were included ki the deployment.

Answer: A

Latest PDI Practice Questions with 191 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments