Câu 23: Salesforce Certified Development Lifecycle and Deployment Architect
Which two statements are accurate about why Mock objects are needed when writing test classes? (Choose two.)
Nội dung câu hỏi
Which two statements are accurate about why Mock objects are needed when writing test classes? (Choose two.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. A Mock is needed whenever the code makes an HTTP callout. — đáp án hiện tại
- B. Some methods are invoking long running processes, using Mock is a shortcut of bypassing the long executions.
- C. Mock can also be used on the classes that extend the batchable interface to bypass the batch jobs.
- D. Using a Mock allows the test class to bypass the dependencies of other objects, methods, state, or behaviors. Therefore, the developer has total control of his own code. — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.