PDI Exam Question 151

A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown. What step should the developer take to resolve the issue and properly test the exception?
  • PDI Exam Question 152

    Which two platform features allow for the use of unsupported languages? Choose 2 answers
  • PDI Exam Question 153

    How can a developer implement this feature?
  • PDI Exam Question 154

    Refer to the following code that runs in an Execute Anonymous block:
  • PDI Exam Question 155

    A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of 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?