ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 347 - Certified Platform Developer II discussion

Report
Export

A developer created a class that implement he Queueable interface, as follows:

As part of the deployment process, the developer is asked to create a corresponding test class.

Which two actions should the developer take to successfully execute the test class?

Choose 2 answers

A.
Ensure the running user of the test class has, at least, the View All permission on the Order object
Answers
A.
Ensure the running user of the test class has, at least, the View All permission on the Order object
B.
Enclose System.enqueueJob (new orderQueueable Job ( }) within Test. starttest and Test, stoptest ()
Answers
B.
Enclose System.enqueueJob (new orderQueueable Job ( }) within Test. starttest and Test, stoptest ()
C.
Implement seeAllData-true to ensure the Queueable )ob is able to run in bulk mode.
Answers
C.
Implement seeAllData-true to ensure the Queueable )ob is able to run in bulk mode.
D.
Implement Test.isRunningtest ( ) to prevent chaining jobs during test execution.
Answers
D.
Implement Test.isRunningtest ( ) to prevent chaining jobs during test execution.
Suggested answer: C, D
asked 23/09/2024
Jaroslaw Walaszek
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first