developer created this Apex trigger that calls MyClass .myStaticMethod:
trigger myTrigger on Contact(before insert) ( MyClass.myStaticMethod(trigger.new, trigger.oldMap); }
The developer creates a test class with a test method that calls MyClass.mystaticMethod, resulting in 81% overall code coverage.
What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exist?
A . The deployment fails because the Apex trigger has no code coverage.
B . The deployment fails because no assertions were made in the test method.
C . The deployment passes because the Apex code has required (>75%) code coverage.
D . The deployment passes because both classes and the trigger were included in the deployment.
Answer: A
Latest PDI Dumps Valid Version with 191 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund