Valid PDI Dumps shared by ExamDiscuss.com for Helping Passing PDI Exam! ExamDiscuss.com now offer the newest PDI exam dumps, the ExamDiscuss.com PDI exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDI dumps with Test Engine here:
A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of the new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required." What should the developer do to successfully deploy the new Apex trigger and helper class?
Correct Answer: C
The deployment fails because the Apex trigger has 0% test coverage. Even though the helper class is covered, Salesforce requires at least 1% test coverage for the trigger itself. To resolve this, a test class and methods must specifically invoke the trigger by performing DML operations on the related object. Reference:Apex Testing Framework