CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 27: Certified Platform Developer

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL. Which three statements are useful inside the unit test to effectiv…

Nội dung câu hỏi

A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL. Which three statements are useful inside the unit test to effectively test the custom controller? (Choose three.)

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.

  1. A. Test.setCurrentPage(pageRef);B.ApexPages.currentPage().getParameters().put(‘input’, ‘TestValue’) — đáp án hiện tại
  2. B. public ExtendedController(ApexPages. StandardController cntrl) { } — đáp án hiện tại
  3. C. insert pageRef

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.

Câu hỏi liền kề